[fixup] use <preview enabled=""><delay inner="" outer="">

This commit is contained in:
tokyo4j 2024-04-04 20:01:52 +09:00
parent 0cb241fe9b
commit 37ce32acc7
5 changed files with 30 additions and 38 deletions

View file

@ -299,14 +299,15 @@ extending outward from the snapped edge.
SnapToEdge action for that edge. A *range* of 0 disables snapping via
interactive moves. Default is 1.
*<snapping><previewDelay edgeType="">*
Set the delay to show a preview when snapping a window to an edge.
Default is 500 ms.
*<snapping><preview><enabled>* [yes|no]
Show a preview when snaping to a window to an edge. Default is yes.
The *edgeType* attribute is optional and specifies the position of edges
to apply the delay. This can be either of:
- *interior* - Edges with an adjacent output
- *exterior* - Edges without an adjacent output
*<snapping><preview><delay><inner>*++
*<snapping><preview><delay><outer>*
Sets the delay to show a preview when snapping a window to each type of edges.
Defaults are 500 ms.
*inner* edges are edges with an adjacent output and *outer* edges are edges
without an adjacent output.
*<snapping><topMaximize>* [yes|no]
If *yes*, an interactive move that snaps a window to the top edge will

View file

@ -99,9 +99,9 @@
<snapping>
<!-- Set range to 0 to disable window snapping completely -->
<range>1</range>
<!-- edgeType is optional -->
<previewDelay edgeType="interior">500</previewDelay>
<previewDelay edgeType="exterior">500</previewDelay>
<preview enabled="yes">
<delay inner="500" outer="500" />
</preview>
<topMaximize>yes</topMaximize>
<notifyClient>always</notifyClient>
</snapping>