summaryrefslogtreecommitdiff
path: root/openbox/event.h
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-05-26 22:13:34 +0000
committerDana Jansens <danakj@orodu.net>2007-05-26 22:13:34 +0000
commit5e9e266722826fbd5907df1bf900864ab23f6539 (patch)
tree8750a5187dd73edaa93433be6d8d5c459abd6aaa /openbox/event.h
parent4a45cabd4fb99ac787a3f84f89541e1c76e578b4 (diff)
change in how things are ungrabbed to avoid grabwhilenotify. don't ungrab every key press. just ungrab the passive grab when there is no active grab and we are going to move focus.
this should be less intrusive and seems to work
Diffstat (limited to 'openbox/event.h')
-rw-r--r--openbox/event.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/openbox/event.h b/openbox/event.h
index 542115fb..29f621d5 100644
--- a/openbox/event.h
+++ b/openbox/event.h
@@ -43,6 +43,9 @@ void event_enter_client(struct _ObClient *client);
till now. */
void event_ignore_all_queued_enters();
+/*! End *all* active and passive grabs on the keyboard */
+void event_cancel_all_key_grabs();
+
/* Halts any focus delay in progress, use this when the user is selecting a
window for focus */
void event_halt_focus_delay();