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:
Elias Naur 2007-05-27 13:17:35 +00:00
parent 748c826af4
commit 985d0973a8
1 changed files with 1 additions and 1 deletions

View File

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