Fixed a bug in grab handling for chains
(wasn't updating _grabbed or the current binding tree position in some cases)
This commit is contained in:
parent
fd76689470
commit
73a584981e
1 changed files with 2 additions and 2 deletions
|
@ -433,9 +433,9 @@ void Bindings::fireKey(int screen, unsigned int modifiers, unsigned int key,
|
||||||
//this point
|
//this point
|
||||||
XGrabKeyboard(**otk::display, root, 0, GrabModeAsync,
|
XGrabKeyboard(**otk::display, root, 0, GrabModeAsync,
|
||||||
GrabModeSync, CurrentTime);
|
GrabModeSync, CurrentTime);
|
||||||
|
}
|
||||||
_grabbed = true;
|
_grabbed = true;
|
||||||
_curpos = p;
|
_curpos = p;
|
||||||
}
|
|
||||||
XAllowEvents(**otk::display, AsyncKeyboard, CurrentTime);
|
XAllowEvents(**otk::display, AsyncKeyboard, CurrentTime);
|
||||||
} else {
|
} else {
|
||||||
Client *c = openbox->focusedClient();
|
Client *c = openbox->focusedClient();
|
||||||
|
|
Loading…
Reference in a new issue