commit 3a75bb7f3290b33872d4c61a131bb0eec876f3ae
parent dca02944ce91feae625e68d897d4caee025f7002
Author: Brian Ashworth <bosrsf04@gmail.com>
Date: Tue, 24 Jul 2018 18:52:54 -0400
Change button var passed to seat_begin_move
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sway/input/cursor.c b/sway/input/cursor.c
@@ -452,7 +452,7 @@ static void dispatch_cursor_button_floating(struct sway_cursor *cursor,
uint32_t btn_move = config->floating_mod_inverse ? BTN_RIGHT : BTN_LEFT;
if (button == btn_move && state == WLR_BUTTON_PRESSED &&
(mod_pressed || over_title)) {
- seat_begin_move(seat, cont, btn_move);
+ seat_begin_move(seat, cont, button);
return;
}