]> Dogcows Code - chaz/openbox/commitdiff
Fixed a bug in grab handling for chains
authorDerek Foreman <manmower@gmail.com>
Sun, 16 Feb 2003 06:55:11 +0000 (06:55 +0000)
committerDerek Foreman <manmower@gmail.com>
Sun, 16 Feb 2003 06:55:11 +0000 (06:55 +0000)
(wasn't updating _grabbed or the current binding tree position in some cases)

src/bindings.cc

index 8c915f4e538e2eac30b4f1d0bc7575015182aeee..1e3897defe671b61c4ff25c7dc287bccc43c4161 100644 (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();
This page took 0.027039 seconds and 4 git commands to generate.