]> git.lizzy.rs Git - bspwm.git/commitdiff
Missing comparison
authorBastien Dejean <nihilhill@gmail.com>
Tue, 11 Sep 2012 14:38:29 +0000 (16:38 +0200)
committerBastien Dejean <nihilhill@gmail.com>
Tue, 11 Sep 2012 14:38:29 +0000 (16:38 +0200)
messages.c

index 8bbc0e93c8defb024c018388b931763cbca6515a..dd2a9bde40ec26e4196911d35c233085de25e7e9 100644 (file)
@@ -42,7 +42,7 @@ void process_message(char *msg, char *rsp)
             split_dir = parse_direction(dir);
             draw_triple_border(desk->focus, active_border_color_pxl);
         }
-    } else if (strcmp(cmd, "push") == 0 || strcmp(cmd, "pull")) {
+    } else if (strcmp(cmd, "push") == 0 || strcmp(cmd, "pull") == 0) {
         char *dir = strtok(NULL, TOKEN_SEP);
         if (dir != NULL) {
             fence_move_t m = parse_fence_move(cmd);