From: Dana Jansens Date: Sun, 22 Jul 2007 03:08:43 +0000 (-0400) Subject: kill moveresize cleanly if focus is moving (it uses a keyboard grab) X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=1c98d2e3a6c721e9b2c7ce9a4343d06e4f714261;p=chaz%2Fopenbox kill moveresize cleanly if focus is moving (it uses a keyboard grab) --- diff --git a/openbox/event.c b/openbox/event.c index 7e31b6dc..746be2c4 100644 --- a/openbox/event.c +++ b/openbox/event.c @@ -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");