mirror of
https://github.com/swaywm/sway.git
synced 2024-12-28 16:06:37 +01:00
Change button var passed to seat_begin_move
This commit is contained in:
parent
dca02944ce
commit
3a75bb7f32
1 changed files with 1 additions and 1 deletions
|
@ -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