summaryrefslogtreecommitdiffstats
path: root/sway/input/cursor.c
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-07-24 18:52:54 -0400
committerLibravatar Brian Ashworth <bosrsf04@gmail.com>2018-07-24 18:52:54 -0400
commit3a75bb7f3290b33872d4c61a131bb0eec876f3ae (patch)
treead414b0eac976a62d49d852c149a150a81876a4d /sway/input/cursor.c
parentImplement floating_modifier <mod> [inverse|normal] (diff)
downloadsway-3a75bb7f3290b33872d4c61a131bb0eec876f3ae.tar.gz
sway-3a75bb7f3290b33872d4c61a131bb0eec876f3ae.tar.zst
sway-3a75bb7f3290b33872d4c61a131bb0eec876f3ae.zip
Change button var passed to seat_begin_move
Diffstat (limited to 'sway/input/cursor.c')
-rw-r--r--sway/input/cursor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/input/cursor.c b/sway/input/cursor.c
index 9eb11de1..d94a707c 100644
--- a/sway/input/cursor.c
+++ b/sway/input/cursor.c
@@ -452,7 +452,7 @@ static void dispatch_cursor_button_floating(struct sway_cursor *cursor,
452 uint32_t btn_move = config->floating_mod_inverse ? BTN_RIGHT : BTN_LEFT; 452 uint32_t btn_move = config->floating_mod_inverse ? BTN_RIGHT : BTN_LEFT;
453 if (button == btn_move && state == WLR_BUTTON_PRESSED && 453 if (button == btn_move && state == WLR_BUTTON_PRESSED &&
454 (mod_pressed || over_title)) { 454 (mod_pressed || over_title)) {
455 seat_begin_move(seat, cont, btn_move); 455 seat_begin_move(seat, cont, button);
456 return; 456 return;
457 } 457 }
458 458