aboutsummaryrefslogtreecommitdiff
path: root/include/sway
diff options
context:
space:
mode:
authorwil <william.barsse@gmail.com>2016-12-22 18:46:00 +0100
committerwil <william.barsse@gmail.com>2016-12-29 20:31:30 +0100
commit0ff9fe9a7a18a5130b7c5e979ba980409f91b5f1 (patch)
tree08d523251534f637582f168b87223d9e536724db /include/sway
parentbc3dc970265dab6e0305975791b5a266bbc390ca (diff)
introduce next/prev as a direction for focus/move commands.
Diffstat (limited to 'include/sway')
-rw-r--r--include/sway/focus.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/sway/focus.h b/include/sway/focus.h
index b532edc2..30c9e108 100644
--- a/include/sway/focus.h
+++ b/include/sway/focus.h
@@ -6,7 +6,9 @@ enum movement_direction {
MOVE_UP,
MOVE_DOWN,
MOVE_PARENT,
- MOVE_CHILD
+ MOVE_CHILD,
+ MOVE_NEXT,
+ MOVE_PREV
};
#include "container.h"
@@ -40,4 +42,3 @@ extern bool suspend_workspace_cleanup;
bool move_focus(enum movement_direction direction);
#endif
-