kill moveresize cleanly if focus is moving (it uses a keyboard grab)

This commit is contained in:
Dana Jansens 2007-07-21 23:08:43 -04:00
parent 2ce109f2d7
commit 1c98d2e3a6

View file

@ -1921,6 +1921,10 @@ void event_cancel_all_key_grabs()
menu_frame_hide_all(); menu_frame_hide_all();
ob_debug("KILLED open menus\n"); 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()) { else if (grab_on_keyboard()) {
ungrab_keyboard(); ungrab_keyboard();
ob_debug("KILLED active grab on keyboard\n"); ob_debug("KILLED active grab on keyboard\n");