all repos — openbox @ 8e34732b3a6d19c64addc6e7f8cdc7bbf6293f1f

openbox fork - make it a bit more like ryudo

let stuff cancel any focus delays going on
Dana Jansens danakj@orodu.net
commit

8e34732b3a6d19c64addc6e7f8cdc7bbf6293f1f

parent

df436132bda79134e822fd56a896ed28cdc289e0

2 files changed, 9 insertions(+), 0 deletions(-)

jump to
M openbox/event.copenbox/event.c

@@ -1199,6 +1199,11 @@ {

ob_main_loop_timeout_remove_data(ob_main_loop, focus_delay_func, client); } +void event_halt_focus_delay() +{ + ob_main_loop_timeout_remove(ob_main_loop, focus_delay_func); +} + void event_ignore_queued_enters() { GSList *saved = NULL, *it;
M openbox/event.hopenbox/event.h

@@ -43,4 +43,8 @@ /*! Request that any queued EnterNotify events not be used for distributing

focus */ void event_ignore_queued_enters(); +/* Halts any focus delay in progress, use this when the user is selecting a + window for focus */ +void event_halt_focus_delay(); + #endif