mirror of
https://github.com/swaywm/sway.git
synced 2024-11-29 19:31:29 +00:00
Change button var passed to seat_begin_move
This commit is contained in:
parent
dca02944ce
commit
3a75bb7f32
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue