X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=plugins%2Fkeyboard%2Fkeyboard.c;h=caee0dc119a1a50f6d1f83938208a125750df66e;hb=bddbe9432837edccc67b76f2d29d4dbc9b02203f;hp=b1923af3680976201d9edcb3763d9c639512f995;hpb=122d55fbadea0409fbc902a1740e1c8ff3aecd88;p=chaz%2Fopenbox diff --git a/plugins/keyboard/keyboard.c b/plugins/keyboard/keyboard.c index b1923af3..caee0dc1 100644 --- a/plugins/keyboard/keyboard.c +++ b/plugins/keyboard/keyboard.c @@ -1,4 +1,5 @@ #include "kernel/focus.h" +#include "kernel/screen.h" #include "kernel/frame.h" #include "kernel/dispatch.h" #include "kernel/openbox.h" @@ -80,7 +81,7 @@ KeyBindingTree *firstnode = NULL; static KeyBindingTree *curpos; static guint reset_key, reset_state; -static Timer *chain_timer; +static ObTimer *chain_timer; static void grab_for_window(Window win, gboolean grab) { @@ -103,7 +104,7 @@ static void grab_keys(gboolean grab) { GList *it; - grab_for_window(focus_backup, grab); + grab_for_window(screen_support_win, grab); for (it = client_list; it; it = g_list_next(it)) grab_for_window(((ObClient*)it->data)->frame->window, grab); }