]> git.mdlowis.com Git - proto/labwc.git/commitdiff
docs: describe MoveToOutput/FitToOutput action
authorJens Peters <jp7677@gmail.com>
Mon, 22 Jan 2024 21:56:47 +0000 (22:56 +0100)
committerJohan Malm <johanmalm@users.noreply.github.com>
Mon, 22 Jan 2024 22:27:08 +0000 (22:27 +0000)
docs/labwc-actions.5.scd

index 52beef4228957d7f99e88e13aeb271998f5f6371..9d55f63f02710653b78b19b6df8a89607923dae5 100644 (file)
@@ -163,6 +163,19 @@ Actions are used in menus and keyboard/mouse bindings.
        to the center of the window. If the given output does not contain
        any windows, the cursor is centered on the given output.
 
+*<action name="MoveToOutput" name="HDMI-A-1" direction="value" />*
+       Moves active window to other output, unless the window state is
+       fullscreen.
+
+       If *name* is specified, the window will be sent directly to the specified
+       output and *direction* is ignored. If *name* is omitted, *direction* may
+       be one of "left", "right", "up" or "down" to indicate that the window
+       should be moved to the next output in that direction (if one exists). 
+
+*<action name="FitToOutput" />*
+       Resizes active window size to width and height of the output when the
+       window size exceeds the output size.
+
 *<action name="GoToDesktop" to="value" wrap="yes" />*
        Switch to workspace.