aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-10-30 15:17:55 +0100
committerGitHub <noreply@github.com>2018-10-30 15:17:55 +0100
commitd3a62633113d487b5a5b1b484736dbe7cbe26bd0 (patch)
tree66f53dddfcd94217beedf25272fe427a34ab665f /include
parentb90af3357030264a1a0def38f3feecb9056f3740 (diff)
parent7be309710dcd679e0b570bc2f076ac00ae9ad65d (diff)
Merge pull request #3033 from RyanDwyer/remove-movement-direction
Remove enum movement_direction
Diffstat (limited to 'include')
-rw-r--r--include/sway/output.h2
-rw-r--r--include/sway/tree/container.h3
-rw-r--r--include/util.h11
3 files changed, 1 insertions, 15 deletions
diff --git a/include/sway/output.h b/include/sway/output.h
index 22cb352a..5efe1660 100644
--- a/include/sway/output.h
+++ b/include/sway/output.h
@@ -62,7 +62,7 @@ void output_begin_destroy(struct sway_output *output);
struct sway_output *output_from_wlr_output(struct wlr_output *output);
struct sway_output *output_get_in_direction(struct sway_output *reference,
- enum movement_direction direction);
+ enum wlr_direction direction);
void output_add_workspace(struct sway_output *output,
struct sway_workspace *workspace);
diff --git a/include/sway/tree/container.h b/include/sway/tree/container.h
index 920ef038..1dd23341 100644
--- a/include/sway/tree/container.h
+++ b/include/sway/tree/container.h
@@ -36,7 +36,6 @@ struct sway_output;
struct sway_workspace;
struct sway_view;
-enum movement_direction;
enum wlr_direction;
struct sway_container_state {
@@ -287,8 +286,6 @@ void container_detach(struct sway_container *child);
void container_replace(struct sway_container *container,
struct sway_container *replacement);
-bool sway_dir_to_wlr(enum movement_direction dir, enum wlr_direction *out);
-
struct sway_container *container_split(struct sway_container *child,
enum sway_container_layout layout);
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