aboutsummaryrefslogtreecommitdiffstats
path: root/sway/meson.build
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-01-01 08:45:21 -0500
committerLibravatar emersion <contact@emersion.fr>2019-01-02 23:33:33 +0100
commit5bf4daf2634929e7c94a6c7e56eda66d4667ca2f (patch)
tree1a5b0c1300c056cdd48f9d819e960e1336c46602 /sway/meson.build
parentFix fullscreen view rendering crash (diff)
downloadsway-5bf4daf2634929e7c94a6c7e56eda66d4667ca2f.tar.gz
sway-5bf4daf2634929e7c94a6c7e56eda66d4667ca2f.tar.zst
sway-5bf4daf2634929e7c94a6c7e56eda66d4667ca2f.zip
Implement tiling_drag_threshold
Implements `tiling_drag_threshold <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`.
Diffstat (limited to 'sway/meson.build')
-rw-r--r--sway/meson.build1
1 files changed, 1 insertions, 0 deletions
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(
89 'commands/swaynag_command.c', 89 'commands/swaynag_command.c',
90 'commands/swap.c', 90 'commands/swap.c',
91 'commands/tiling_drag.c', 91 'commands/tiling_drag.c',
92 'commands/tiling_drag_threshold.c',
92 'commands/title_align.c', 93 'commands/title_align.c',
93 'commands/title_format.c', 94 'commands/title_format.c',
94 'commands/titlebar_border_thickness.c', 95 'commands/titlebar_border_thickness.c',