From 5bf4daf2634929e7c94a6c7e56eda66d4667ca2f Mon Sep 17 00:00:00 2001 From: Brian Ashworth Date: Tue, 1 Jan 2019 08:45:21 -0500 Subject: Implement tiling_drag_threshold Implements `tiling_drag_threshold ` to prevent accidental dragging of tiling containers. If a container (and all of its descendants) are unfocused and the tile bar is pressed, a threshold will be used before actually starting the drag. Once the threshold has been exceeded, the cursor will change to the grab icon and the operation will switch from `OP_MOVE_TILING_THRESHOLD` to `OP_MOVE_TILING`. --- sway/meson.build | 1 + 1 file changed, 1 insertion(+) (limited to 'sway/meson.build') diff --git a/sway/meson.build b/sway/meson.build index 7f739287..98676ce0 100644 --- a/sway/meson.build +++ b/sway/meson.build @@ -89,6 +89,7 @@ sway_sources = files( 'commands/swaynag_command.c', 'commands/swap.c', 'commands/tiling_drag.c', + 'commands/tiling_drag_threshold.c', 'commands/title_align.c', 'commands/title_format.c', 'commands/titlebar_border_thickness.c', -- cgit v1.2.3-54-g00ecf