mirror of
https://github.com/swaywm/sway.git
synced 2025-11-14 06:59:47 -05:00
Apply tiling_drag_threshold to all containers
This commit is contained in:
parent
1450a9e9f9
commit
ee50134634
2 changed files with 8 additions and 10 deletions
|
|
@ -1020,9 +1020,8 @@ void dispatch_cursor_button(struct sway_cursor *cursor,
|
|||
|
||||
seat_pointer_notify_button(seat, time_msec, button, state);
|
||||
|
||||
// If moving a previously unfocused container by it's title bar, use a
|
||||
// threshold for the drag.
|
||||
if (!mod_pressed && !focused && config->tiling_drag_threshold > 0) {
|
||||
// If moving a container by it's title bar, use a threshold for the drag
|
||||
if (!mod_pressed && config->tiling_drag_threshold > 0) {
|
||||
seat_begin_move_tiling_threshold(seat, cont, button);
|
||||
} else {
|
||||
seat_begin_move_tiling(seat, cont, button);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue