]> Dogcows Code - chaz/openbox/commitdiff
no mouse interactive actions. no bugs.
authorDana Jansens <danakj@orodu.net>
Tue, 9 Sep 2003 06:07:00 +0000 (06:07 +0000)
committerDana Jansens <danakj@orodu.net>
Tue, 9 Sep 2003 06:07:00 +0000 (06:07 +0000)
openbox/action.c

index 6d1e0a645c9f068b2f3c4635d46807fe084892ee..e16e177a1d01da9991732a980e7e373dca224060 100644 (file)
@@ -698,6 +698,9 @@ ObAction *action_from_string(char *name, ObUserAction uact)
             a = action_new(actionstrings[i].func, uact);
             if (actionstrings[i].setup)
                 actionstrings[i].setup(&a, uact);
+            /* only key bindings can be interactive. thus saith the xor. */
+            if (uact != OB_USER_ACTION_KEYBOARD_KEY)
+                a->data.any.interactive = FALSE;
             break;
         }
     if (!exist)
This page took 0.028951 seconds and 4 git commands to generate.