aboutsummaryrefslogtreecommitdiff
path: root/sway/commands/move.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-11-01 01:01:17 +0100
committerGitHub <noreply@github.com>2018-11-01 01:01:17 +0100
commit35fda6765b154c1824b3e347579b9d41b309212c (patch)
tree3f81a96d7aa72cc4cd8e94c3f656ce27c6b6b34f /sway/commands/move.c
parentf841d2ed7421805b4b5bac0433fbb4db8d1d0f20 (diff)
parentbf19f63a79f4d844259800c9415599271438cabd (diff)
Merge pull request #3037 from RyanDwyer/focus-output-wrap
Wrap to fartherest output when running focus output
Diffstat (limited to 'sway/commands/move.c')
-rw-r--r--sway/commands/move.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/sway/commands/move.c b/sway/commands/move.c
index 30c198e4..9035e3e2 100644
--- a/sway/commands/move.c
+++ b/sway/commands/move.c
@@ -27,19 +27,6 @@ static const char *expected_syntax =
"'move <container|window|workspace> [to] output <name|direction>' or "
"'move <container|window> [to] mark <mark>'";
-enum wlr_direction opposite_direction(enum wlr_direction d) {
- switch (d) {
- case WLR_DIRECTION_UP:
- return WLR_DIRECTION_DOWN;
- case WLR_DIRECTION_DOWN:
- return WLR_DIRECTION_UP;
- case WLR_DIRECTION_RIGHT:
- return WLR_DIRECTION_LEFT;
- default:
- return WLR_DIRECTION_RIGHT;
- }
-}
-
static struct sway_output *output_in_direction(const char *direction_string,
struct sway_output *reference, int ref_lx, int ref_ly) {
struct {