|
@@ -4897,7 +4897,7 @@ DisplayServerX11::WindowID DisplayServerX11::_create_window(WindowMode p_mode, V
|
|
// handling decorations and placement.
|
|
// handling decorations and placement.
|
|
// On the other hand, focus changes need to be handled manually when this is set.
|
|
// On the other hand, focus changes need to be handled manually when this is set.
|
|
// - save_under is a hint for the WM to keep the content of windows behind to avoid repaint.
|
|
// - save_under is a hint for the WM to keep the content of windows behind to avoid repaint.
|
|
- if (wd.is_popup || wd.no_focus) {
|
|
|
|
|
|
+ if (wd.no_focus) {
|
|
windowAttributes.override_redirect = True;
|
|
windowAttributes.override_redirect = True;
|
|
windowAttributes.save_under = True;
|
|
windowAttributes.save_under = True;
|
|
valuemask |= CWOverrideRedirect | CWSaveUnder;
|
|
valuemask |= CWOverrideRedirect | CWSaveUnder;
|