]> Dogcows Code - chaz/openbox/blobdiff - openbox/client.c
Don't kill keygrabs when focus moves.
[chaz/openbox] / openbox / client.c
index 6113062b9fedd74474b5f03c8ffc63ab246b466b..91693f999ab8c7e9c490695937b3c3fd2037a372 100644 (file)
@@ -2621,10 +2621,6 @@ gboolean client_hide(ObClient *self)
     gboolean hide = FALSE;
 
     if (!client_should_show(self)) {
-        if (self == focus_client) {
-            event_cancel_all_key_grabs();
-        }
-
         /* We don't need to ignore enter events here.
            The window can hide/iconify in 3 different ways:
            1 - through an x message. in this case we ignore all enter events
@@ -3875,8 +3871,6 @@ gboolean client_focus(ObClient *self)
        go moving on us */
     event_halt_focus_delay();
 
-    event_cancel_all_key_grabs();
-
     xerror_set_ignore(TRUE);
     xerror_occured = FALSE;
 
This page took 0.022127 seconds and 4 git commands to generate.