summaryrefslogtreecommitdiff
path: root/sway/movement.h
diff options
context:
space:
mode:
authorDrew DeVault <[email protected]>2015-08-10 10:18:04 -0400
committerDrew DeVault <[email protected]>2015-08-10 10:18:04 -0400
commitf9ae9ab6e37f1dab657527028f3123290f299406 (patch)
tree6e582145410b24851b41f0f3e3208920dac9eed3 /sway/movement.h
parent113fb708fb4b1d4eb49e4b6ea6a6c6a45c4e7a1a (diff)
parentf923c4e6b93a5361c1737b239dbacef6e7219b04 (diff)
Merge pull request #4 from taiyu-len/master
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);