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:
Derek Foreman 2003-02-16 06:55:11 +00:00
parent fd76689470
commit 73a584981e

View file

@ -433,9 +433,9 @@ void Bindings::fireKey(int screen, unsigned int modifiers, unsigned int key,
//this point
XGrabKeyboard(**otk::display, root, 0, GrabModeAsync,
GrabModeSync, CurrentTime);
_grabbed = true;
_curpos = p;
}
_grabbed = true;
_curpos = p;
XAllowEvents(**otk::display, AsyncKeyboard, CurrentTime);
} else {
Client *c = openbox->focusedClient();