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:
Matthias Melcher 2005-12-30 11:11:54 +00:00
parent 76e967889f
commit 42f7ef8ea9
1 changed files with 6 additions and 2 deletions

View File

@ -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;
}