From 5e9e266722826fbd5907df1bf900864ab23f6539 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Sat, 26 May 2007 22:13:34 +0000 Subject: 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 --- openbox/event.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'openbox/event.h') 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(); -- cgit v1.2.3