mirror of https://github.com/fltk/fltk
STR #1082, part 1:
Borderless windows now do not vanish anymore when the application becomes inactive, unless they are menus, or tooltips. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4725 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
76e967889f
commit
42f7ef8ea9
|
@ -1686,8 +1686,12 @@ void Fl_X::make(Fl_Window* w)
|
|||
|
||||
if (!fake_X_wm(w, xwm, ywm, bt, bx, by)) {
|
||||
// menu windows and tooltips
|
||||
winclass = kHelpWindowClass;
|
||||
winattr = 0;
|
||||
if (w->modal()||w->override()) {
|
||||
winclass = kHelpWindowClass;
|
||||
winattr = 0;
|
||||
} else {
|
||||
winattr = kWindowNoTitleBarAttribute;
|
||||
}
|
||||
} else if (w->modal()) {
|
||||
winclass = kMovableModalWindowClass;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue