make tiling drag configurable

fixes https://github.com/i3/i3/issues/5155
This commit is contained in:
Michael Stapelberg
2022-10-16 17:42:17 +02:00
committed by Michael Stapelberg
parent 2ba393f084
commit 55d400b17d
12 changed files with 85 additions and 3 deletions

View File

@ -196,6 +196,7 @@ provided by the i3 https://github.com/i3/i3/blob/next/etc/config.keycodes[defaul
Floating windows are always on top of tiling windows.
[[tiling_drag]]
=== Moving tiling containers with the mouse
Since i3 4.21, it's possible to drag tiling containers using the mouse. The
@ -1402,6 +1403,29 @@ fullscreen toggle
bindsym Mod1+F fullscreen toggle
-------------------
[[config_tiling_drag]]
=== Tiling drag
You can configure how to initiate the tiling drag feature (see <<tiling_drag>>).
*Syntax*:
--------------------------------
tiling_drag off
tiling_drag modifier|titlebar [modifier|titlebar]
--------------------------------
*Examples*:
--------------------------------
# Only initiate a tiling drag when the modifier is held:
tiling_drag modifier
# Initiate a tiling drag on either titlebar click or held modifier:
tiling_drag modifier titlebar
# Disable tiling drag altogether
tiling_drag off
--------------------------------
== Configuring i3bar
The bar at the bottom of your monitor is drawn by a separate process called