]> git.sur5r.net Git - i3/i3/blobdiff - src/move.c
Rename bind to bindcode
[i3/i3] / src / move.c
index 955cb6b09824b09f2627bdd213e01d3bcaf2e598..caa23eafe6b92230ab85e40ce4c0c00ba81aa594 100644 (file)
@@ -153,7 +153,7 @@ void tree_move(int direction) {
     if (direction == TOK_UP || direction == TOK_LEFT) {
         position = BEFORE;
         next = TAILQ_PREV(above, nodes_head, nodes);
-    } else if (direction == TOK_DOWN || direction == TOK_RIGHT) {
+    } else {
         position = AFTER;
         next = TAILQ_NEXT(above, nodes);
     }