Add ResizeTo action

Fixes: #1261
This commit is contained in:
Johan Malm 2023-12-01 17:03:58 +00:00 committed by Johan Malm
parent 590ec0c77d
commit 9c1c96f993
2 changed files with 34 additions and 0 deletions

View file

@ -73,6 +73,13 @@ Actions are used in menus and keyboard/mouse bindings.
*<action name="MoveTo" x="" y="" />*
Move to position (x, y)
*<action name="ResizeTo" width="" height="" />*
Resize window
*width* The width to resize the window to in pixels.
*height* The height to resize the window to in pixels.
*<action name="MoveToCursor" />*
Move to be centered on cursor.
Tries to prevent any part of the window from going off-screen.