projects
/
mikachu
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
df43613
)
let stuff cancel any focus delays going on
author
Dana Jansens
<danakj@orodu.net>
Thu, 9 Oct 2003 18:48:44 +0000
(18:48 +0000)
committer
Dana Jansens
<danakj@orodu.net>
Thu, 9 Oct 2003 18:48:44 +0000
(18:48 +0000)
openbox/event.c
patch
|
blob
|
history
openbox/event.h
patch
|
blob
|
history
diff --git
a/openbox/event.c
b/openbox/event.c
index 93cdf0b220f3b89cd426e1bf276ce9ac13c90c1d..cd0163f27119a21cc09b26db568a4b5728ef30f8 100644
(file)
--- a/
openbox/event.c
+++ b/
openbox/event.c
@@
-1199,6
+1199,11
@@
static void focus_delay_client_dest(ObClient *client, gpointer data)
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;
diff --git
a/openbox/event.h
b/openbox/event.h
index 5d8600a873ff901acfa121dcbce976b4e9d26d16..0da09789a76099910f49090c62c1408b88ea4eb7 100644
(file)
--- a/
openbox/event.h
+++ b/
openbox/event.h
@@
-43,4
+43,8
@@
void event_enter_client(struct _ObClient *client);
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