mirror of
https://github.com/fltk/fltk.git
synced 2026-06-04 23:42:15 +08:00
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:
@@ -1686,8 +1686,12 @@ void Fl_X::make(Fl_Window* w)
|
|||||||
|
|
||||||
if (!fake_X_wm(w, xwm, ywm, bt, bx, by)) {
|
if (!fake_X_wm(w, xwm, ywm, bt, bx, by)) {
|
||||||
// menu windows and tooltips
|
// menu windows and tooltips
|
||||||
|
if (w->modal()||w->override()) {
|
||||||
winclass = kHelpWindowClass;
|
winclass = kHelpWindowClass;
|
||||||
winattr = 0;
|
winattr = 0;
|
||||||
|
} else {
|
||||||
|
winattr = kWindowNoTitleBarAttribute;
|
||||||
|
}
|
||||||
} else if (w->modal()) {
|
} else if (w->modal()) {
|
||||||
winclass = kMovableModalWindowClass;
|
winclass = kMovableModalWindowClass;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user