mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
action: add ToggleSnapToEdge/Region actions
Behaves identical like SnapToEdge and SnapToRegion, but untiles the window when already being tiled to the given region or direction. Co-authored-by: tokyo4j <hrak1529@gmail.com>
This commit is contained in:
parent
4fd7a8075c
commit
cb2e2c1016
2 changed files with 40 additions and 1 deletions
|
|
@ -91,12 +91,21 @@ Actions are used in menus and keyboard/mouse bindings.
|
|||
Move window relative to its current position. Positive value of x moves
|
||||
it right, negative left. Positive value of y moves it down, negative up.
|
||||
|
||||
*<action name="ToggleSnapToEdge" direction="value" />*++
|
||||
*<action name="SnapToEdge" direction="value" />*
|
||||
Resize window to fill half the output in the given direction. Supports
|
||||
directions "left", "up", "right", "down" and "center".
|
||||
|
||||
ToggleSnapToEdge additionally toggles the active window between
|
||||
tiled to the given direction and its untiled position.
|
||||
|
||||
*<action name="ToggleSnapToRegion" region="value" />*++
|
||||
*<action name="SnapToRegion" region="value" />*
|
||||
Resize and move active window according to the given region.
|
||||
|
||||
ToggleSnapToRegion additionally toggles the active window between
|
||||
tiled to the given region and its untiled position.
|
||||
|
||||
See labwc-config(5) for further information on how to define regions.
|
||||
|
||||
*<action name="NextWindow" />*++
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue