]> Dogcows Code - chaz/openbox/commitdiff
only grab C-g while in a chain
authorDana Jansens <danakj@orodu.net>
Thu, 22 May 2003 18:22:12 +0000 (18:22 +0000)
committerDana Jansens <danakj@orodu.net>
Thu, 22 May 2003 18:22:12 +0000 (18:22 +0000)
plugins/keyboard/keyboard.c

index 5edd62917a9fb6728dc7071951326dec85f11e88..b67e738b7009a70d72d6ff859bad1f21c521a66b 100644 (file)
@@ -34,7 +34,8 @@ static void grab_keys()
         grab_key(p->key, p->state, GrabModeAsync);
         p = p->next_sibling;
     }
-    grab_key(reset_key, reset_state, GrabModeAsync);
+    if (curpos)
+        grab_key(reset_key, reset_state, GrabModeAsync);
 }
 
 static void reset_chains()
This page took 0.026666 seconds and 4 git commands to generate.