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

@ -53,6 +53,7 @@ state INITIAL:
'ipc_kill_timeout' -> IPC_KILL_TIMEOUT
'restart_state' -> RESTART_STATE
'popup_during_fullscreen' -> POPUP_DURING_FULLSCREEN
'tiling_drag' -> TILING_DRAG
exectype = 'exec_always', 'exec' -> EXEC
colorclass = 'client.background'
-> COLOR_SINGLE
@ -330,6 +331,18 @@ state POPUP_DURING_FULLSCREEN:
value = 'ignore', 'leave_fullscreen', 'smart'
-> call cfg_popup_during_fullscreen($value)
state TILING_DRAG_MODE:
value = 'modifier', 'titlebar'
->
end
-> call cfg_tiling_drag($value)
state TILING_DRAG:
off = '0', 'no', 'false', 'off', 'disable', 'inactive'
-> call cfg_tiling_drag($off)
value = 'modifier', 'titlebar'
-> TILING_DRAG_MODE
# client.background <hexcolor>
state COLOR_SINGLE:
color = word