Add MoveToCursor action

This commit is contained in:
Arnaudv6 2023-10-14 14:57:44 +02:00 committed by Johan Malm
parent 5c4038493f
commit 8920e546db
4 changed files with 56 additions and 0 deletions

View file

@ -54,6 +54,10 @@ Actions are used in menus and keyboard/mouse bindings.
*<action name="MoveTo" x="" y="" />*
Move to position (x, y)
*<action name="MoveToCursor" />*
Move to be centered on cursor.
Tries to prevent any part of the window from going off-screen.
*<action name="MoveRelative" x="" y="" />*
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.