diff options
Diffstat (limited to 'sway/commands/move.c')
-rw-r--r-- | sway/commands/move.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/sway/commands/move.c b/sway/commands/move.c index 890b1a8c..dc9a6f6f 100644 --- a/sway/commands/move.c +++ b/sway/commands/move.c | |||
@@ -13,16 +13,14 @@ | |||
13 | #include "stringop.h" | 13 | #include "stringop.h" |
14 | #include "list.h" | 14 | #include "list.h" |
15 | 15 | ||
16 | static const char* expected_syntax = | 16 | static const char* expected_syntax = |
17 | "Expected 'move <left|right|up|down> <[px] px>' or " | 17 | "Expected 'move <left|right|up|down> <[px] px>' or " |
18 | "'move <container|window> to workspace <name>' or " | 18 | "'move <container|window> to workspace <name>' or " |
19 | "'move <container|window|workspace> to output <name|direction>' or " | 19 | "'move <container|window|workspace> to output <name|direction>' or " |
20 | "'move position mouse'"; | 20 | "'move position mouse'"; |
21 | 21 | ||
22 | static struct sway_container *output_in_direction(const char *direction, | 22 | static struct sway_container *output_in_direction(const char *direction, |
23 | struct wlr_output *reference, int ref_ox, int ref_oy) { | 23 | struct wlr_output *reference, int ref_lx, int ref_ly) { |
24 | int ref_lx = ref_ox + reference->lx, | ||
25 | ref_ly = ref_oy + reference->ly; | ||
26 | struct { | 24 | struct { |
27 | char *name; | 25 | char *name; |
28 | enum wlr_direction direction; | 26 | enum wlr_direction direction; |