yeah.. so much for lucky 6000
This commit is contained in:
parent
34b89d8f71
commit
d389e67d22
1 changed files with 16 additions and 16 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue