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 cancel = FALSE;
if (istate.active) {
if ((e->type == KeyRelease && !(istate.state & e->xkey.state)))
done = TRUE;
else if (e->type == KeyPress) {
@ -251,11 +252,12 @@ gboolean keyboard_process_interactive_grab(const XEvent *e, ObClient **client)
cancel = done = TRUE;
if (done) {
keyboard_interactive_end(e->xkey.state, cancel, e->xkey.time, TRUE);
keyboard_interactive_end(e->xkey.state, cancel, e->xkey.time,TRUE);
handled = TRUE;
} else
*client = istate.client;
}
return handled;
}
@ -324,8 +326,6 @@ void keyboard_startup(gboolean reconfig)
void keyboard_shutdown(gboolean reconfig)
{
GSList *it;
if (!reconfig)
client_remove_destructor(keyboard_interactive_end_client);