diff options
Diffstat (limited to 'sway/input/cursor.c')
-rw-r--r-- | sway/input/cursor.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/sway/input/cursor.c b/sway/input/cursor.c index 516251f7..66a9e435 100644 --- a/sway/input/cursor.c +++ b/sway/input/cursor.c @@ -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); |