diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-07-18 17:40:53 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-07-22 23:10:19 +1000 |
commit | 3aadf944ae0ad08439d2651d37eb3c6c686d2709 (patch) | |
tree | 2b5b0d6677dea4666d5ee2b2ac52a696a87cd04f /sway/input | |
parent | 9fbe13b9be18c732b58033a57a22a299af91a170 (diff) | |
download | sway-3aadf944ae0ad08439d2651d37eb3c6c686d2709.tar.xz |
Use WLR_MODIFIER_SHIFT
Diffstat (limited to 'sway/input')
-rw-r--r-- | sway/input/cursor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/input/cursor.c b/sway/input/cursor.c index 6ad214b5..3c27a7f6 100644 --- a/sway/input/cursor.c +++ b/sway/input/cursor.c @@ -515,7 +515,7 @@ static void dispatch_cursor_button_floating(struct sway_cursor *cursor, seat->operation = OP_RESIZE; seat->op_container = cont; seat->op_resize_preserve_ratio = keyboard && - (keyboard->modifiers.depressed & 1); // Shift + (keyboard->modifiers.depressed & WLR_MODIFIER_SHIFT); seat->op_resize_edge = edge; seat->op_button = button; seat->op_ref_lx = cursor->cursor->x; |