mirror of
https://github.com/JetBrains/JetBrainsRuntime.git
synced 2025-12-06 09:29:38 +01:00
JBR-3038 Unexpected windows z-order change on workspace switch
(cherry picked from commit ddda860f42)
This commit is contained in:
committed by
alexey.ushakov@jetbrains.com
parent
5839f05ca0
commit
1a4756eec6
@@ -1419,7 +1419,7 @@ class XWindowPeer extends XPanelPeer implements WindowPeer,
|
||||
isUnhiding |= isWMStateNetHidden();
|
||||
|
||||
super.handleMapNotifyEvent(xev);
|
||||
if (!winAttr.initialFocus && shouldSuppressWmTakeFocus()) {
|
||||
if (isBeforeFirstMapNotify && !winAttr.initialFocus && shouldSuppressWmTakeFocus()) {
|
||||
suppressWmTakeFocus(false); // restore the protocol.
|
||||
/*
|
||||
* For some reason, on Metacity, a frame/dialog being shown
|
||||
|
||||
Reference in New Issue
Block a user