diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2018-10-30 23:27:49 +1000 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2018-10-30 23:27:49 +1000 |
| commit | 72f98973e9bef940d5a9fd27a5ac0df7f0230144 (patch) | |
| tree | 66f53dddfcd94217beedf25272fe427a34ab665f /include/util.h | |
| parent | 12650dcbb34de5158bfb20f3a0a79fa58203f822 (diff) | |
Remove enum movement_direction
There's no point having both movement_direction and wlr_direction. This
replaces the former with the latter.
As movement_direction also contained MOVE_PARENT and MOVE_CHILD items,
these are now checked specifically in the focus command and handled in
separate functions, just like the other focus variants.
Diffstat (limited to 'include/util.h')
| -rw-r--r-- | include/util.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/include/util.h b/include/util.h index 19d2e7cf..c39c92b1 100644 --- a/include/util.h +++ b/include/util.h @@ -7,15 +7,6 @@ #include <wlr/types/wlr_output_layout.h> #include <xkbcommon/xkbcommon.h> -enum movement_direction { - MOVE_LEFT, - MOVE_RIGHT, - MOVE_UP, - MOVE_DOWN, - MOVE_PARENT, - MOVE_CHILD, -}; - /** * Wrap i into the range [0, max[ */ @@ -77,6 +68,4 @@ bool parse_boolean(const char *boolean, bool current); */ char* resolve_path(const char* path); -bool sway_dir_to_wlr(enum movement_direction dir, enum wlr_direction *out); - #endif |
