mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
interactive: allow snapping to corner edges
In addition to <snapping><range>, <snapping><cornerRange> configures the distance from the screen corner to trigger quater window snapping. Also, new values "up-left", "up-right", "down-left" and "down-right" are allowed for <action name="(Toggle)SnapToEdge" direction="[value]"> and <query tiled="[value]">.
This commit is contained in:
parent
b0ff2911b6
commit
2f183cdcb6
14 changed files with 147 additions and 89 deletions
|
|
@ -95,7 +95,8 @@ Actions are used in menus and keyboard/mouse bindings.
|
|||
*<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".
|
||||
directions "left", "up", "right", "down", "up-left", "up-right", "down-left",
|
||||
"down-right" and "center".
|
||||
|
||||
ToggleSnapToEdge additionally toggles the active window between
|
||||
tiled to the given direction and its untiled position.
|
||||
|
|
@ -474,7 +475,7 @@ Actions that execute other actions. Used in keyboard/mouse bindings.
|
|||
The "left" , "right", "left-occupied" and
|
||||
"right-occupied" directions will not wrap.
|
||||
|
||||
*tiled* [up|right|down|left|center|any]
|
||||
*tiled* [up|right|down|left|top-left|top-right|down-left|down-right|center|any]
|
||||
Whether the client is tiled (snapped) along the the
|
||||
indicated screen edge.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue