aboutsummaryrefslogtreecommitdiff
path: root/sway/movement.h
diff options
context:
space:
mode:
authorTaiyu <taiyu.len@gmail.com>2015-08-10 00:05:44 -0700
committerTaiyu <taiyu.len@gmail.com>2015-08-10 00:05:44 -0700
commitb43161fd45c794448d17e705413949dbb62727db (patch)
tree7523ded3c7d8ec6a6715437caf17f89d1ba0fdcc /sway/movement.h
parent6f0a1cdcd1c4b77aab062670e5522ebc1e956208 (diff)
fixed focus_parent, moved into move_focus() function
Diffstat (limited to 'sway/movement.h')
-rw-r--r--sway/movement.h11
1 files changed, 6 insertions, 5 deletions
diff --git a/sway/movement.h b/sway/movement.h
index 44e630ff..a527674c 100644
--- a/sway/movement.h
+++ b/sway/movement.h
@@ -4,11 +4,12 @@
#include <wlc/wlc.h>
#include "list.h"
-enum movement_direction{
- MOVE_LEFT,
- MOVE_RIGHT,
- MOVE_UP,
- MOVE_DOWN
+enum movement_direction {
+ MOVE_LEFT,
+ MOVE_RIGHT,
+ MOVE_UP,
+ MOVE_DOWN,
+ MOVE_PARENT
};
int move_focus(enum movement_direction direction);