Adjust move command to account for changed coordinate system

This commit is contained in:
Ryan Dwyer 2018-05-29 22:46:43 +10:00
parent f24087d104
commit f7cadf2333

View file

@ -20,9 +20,7 @@ static const char* expected_syntax =
"'move position mouse'";
static struct sway_container *output_in_direction(const char *direction,
struct wlr_output *reference, int ref_ox, int ref_oy) {
int ref_lx = ref_ox + reference->lx,
ref_ly = ref_oy + reference->ly;
struct wlr_output *reference, int ref_lx, int ref_ly) {
struct {
char *name;
enum wlr_direction direction;