summaryrefslogtreecommitdiff
path: root/openbox/keyboard.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2007-04-22 04:16:00 +0000
committerDana Jansens <danakj@orodu.net>2007-04-22 04:16:00 +0000
commit939fbcfd31e07a6e0f1cdbfcef9b04f63e6af700 (patch)
treefb5ba9c9de6eb445cac162c50b220a2a091345eb /openbox/keyboard.c
parent8612fcfb99f4ed97f49c3617fd2ae291877c8c8e (diff)
add a comparitor to timers. use this in event.c to let you remove timers from the queue selectively for delayed focus
Diffstat (limited to 'openbox/keyboard.c')
-rw-r--r--openbox/keyboard.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/openbox/keyboard.c b/openbox/keyboard.c
index b95b0805..01b54b4c 100644
--- a/openbox/keyboard.c
+++ b/openbox/keyboard.c
@@ -271,7 +271,8 @@ void keyboard_event(ObClient *client, const XEvent *e)
ob_main_loop_timeout_remove(ob_main_loop, chain_timeout);
/* 5 second timeout for chains */
ob_main_loop_timeout_add(ob_main_loop, 5 * G_USEC_PER_SEC,
- chain_timeout, NULL, NULL);
+ chain_timeout, NULL,
+ g_direct_equal, NULL);
grab_keys(FALSE);
curpos = p;
grab_keys(TRUE);