yeah.. so much for lucky 6000

This commit is contained in:
Dana Jansens 2007-05-03 04:23:55 +00:00
parent 34b89d8f71
commit d389e67d22

View file

@ -240,6 +240,7 @@ gboolean keyboard_process_interactive_grab(const XEvent *e, ObClient **client)
gboolean done = FALSE; gboolean done = FALSE;
gboolean cancel = FALSE; gboolean cancel = FALSE;
if (istate.active) {
if ((e->type == KeyRelease && !(istate.state & e->xkey.state))) if ((e->type == KeyRelease && !(istate.state & e->xkey.state)))
done = TRUE; done = TRUE;
else if (e->type == KeyPress) { else if (e->type == KeyPress) {
@ -256,6 +257,7 @@ gboolean keyboard_process_interactive_grab(const XEvent *e, ObClient **client)
handled = TRUE; handled = TRUE;
} else } else
*client = istate.client; *client = istate.client;
}
return handled; return handled;
} }
@ -324,8 +326,6 @@ void keyboard_startup(gboolean reconfig)
void keyboard_shutdown(gboolean reconfig) void keyboard_shutdown(gboolean reconfig)
{ {
GSList *it;
if (!reconfig) if (!reconfig)
client_remove_destructor(keyboard_interactive_end_client); client_remove_destructor(keyboard_interactive_end_client);