]> Dogcows Code - chaz/openbox/commitdiff
kill moveresize cleanly if focus is moving (it uses a keyboard grab)
authorDana Jansens <danakj@orodu.net>
Sun, 22 Jul 2007 03:08:43 +0000 (23:08 -0400)
committerDana Jansens <danakj@orodu.net>
Sun, 22 Jul 2007 03:08:43 +0000 (23:08 -0400)
openbox/event.c

index 7e31b6dc014926b3760b6f6759d66b3ac66a82fa..746be2c4f7aa4e7016cc6a228fea8304bfc2764d 100644 (file)
@@ -1921,6 +1921,10 @@ void event_cancel_all_key_grabs()
         menu_frame_hide_all();
         ob_debug("KILLED open menus\n");
     }
+    else if (moveresize_in_progress) {
+        moveresize_end(TRUE);
+        ob_debug("KILLED interactive moveresize\n");
+    }
     else if (grab_on_keyboard()) {
         ungrab_keyboard();
         ob_debug("KILLED active grab on keyboard\n");
This page took 0.029666 seconds and 4 git commands to generate.