(wasn't updating _grabbed or the current binding tree position in some cases)
//this point
XGrabKeyboard(**otk::display, root, 0, GrabModeAsync,
GrabModeSync, CurrentTime);
//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();
XAllowEvents(**otk::display, AsyncKeyboard, CurrentTime);
} else {
Client *c = openbox->focusedClient();