]> Dogcows Code - chaz/openbox/blobdiff - plugins/keyboard/keyboard.c
subtract 1 from the given desktop number
[chaz/openbox] / plugins / keyboard / keyboard.c
index 2b3f3e5a804515bfab901308023849dea12817f7..07a9bd513259ebfb0899c653b500913d468546f8 100644 (file)
@@ -49,10 +49,8 @@ gboolean kbind(GList *keylist, Action *action)
     g_assert(keylist != NULL);
     g_assert(action != NULL);
 
-    if (!(tree = tree_build(keylist))) {
-        g_warning("invalid binding");
+    if (!(tree = tree_build(keylist)))
         return FALSE;
-    }
     if ((t = tree_find(tree, &conflict)) != NULL) {
        /* already bound to something */
        g_warning("keychain is already bound");
This page took 0.023773 seconds and 4 git commands to generate.