From: Derek Foreman Date: Sun, 16 Feb 2003 06:55:11 +0000 (+0000) Subject: Fixed a bug in grab handling for chains X-Git-Url: https://git.brokenzipper.com/gitweb?a=commitdiff_plain;h=73a584981e853f03cbd01930d27d138c6b95707b;p=chaz%2Fopenbox Fixed a bug in grab handling for chains (wasn't updating _grabbed or the current binding tree position in some cases) --- diff --git a/src/bindings.cc b/src/bindings.cc index 8c915f4e..1e3897de 100644 --- a/src/bindings.cc +++ b/src/bindings.cc @@ -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();