projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ce109f
)
kill moveresize cleanly if focus is moving (it uses a keyboard grab)
author
Dana Jansens
<danakj@orodu.net>
Sun, 22 Jul 2007 03:08:43 +0000
(23:08 -0400)
committer
Dana Jansens
<danakj@orodu.net>
Sun, 22 Jul 2007 03:08:43 +0000
(23:08 -0400)
openbox/event.c
patch
|
blob
|
history
diff --git
a/openbox/event.c
b/openbox/event.c
index 7e31b6dc014926b3760b6f6759d66b3ac66a82fa..746be2c4f7aa4e7016cc6a228fea8304bfc2764d 100644
(file)
--- 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");