Linux: Move input grab update from createWindow to when MapNotify is received. This avoid any input grabbing being ignored because the window is not yet mapped
This commit is contained in:
parent
748c826af4
commit
985d0973a8
|
@ -373,7 +373,6 @@ final class LinuxDisplay implements DisplayImplementation {
|
|||
grab = false;
|
||||
minimized = false;
|
||||
dirty = true;
|
||||
updateInputGrab();
|
||||
} finally {
|
||||
peer_info.unlock();
|
||||
}
|
||||
|
@ -615,6 +614,7 @@ final class LinuxDisplay implements DisplayImplementation {
|
|||
case LinuxEvent.MapNotify:
|
||||
dirty = true;
|
||||
minimized = false;
|
||||
updateInputGrab();
|
||||
break;
|
||||
case LinuxEvent.UnmapNotify:
|
||||
dirty = true;
|
||||
|
|
Loading…
Reference in New Issue