mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
src/action.c: fix MoveToOutput action by renaming 'name' argument
We were using the argument name 'name' before which is already used by the action itself: `<action name="MoveToOutput" name="HDMI-A-1" />` Change the argument name to "output" which also matches the `FocusOutput` action. Fixes: #1589 Reported-by: @bnason (thanks!)
This commit is contained in:
parent
bcf2d7e091
commit
983ca66d07
2 changed files with 7 additions and 7 deletions
|
|
@ -163,12 +163,12 @@ 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" wrap="no" />*
|
||||
*<action name="MoveToOutput" output="HDMI-A-1" direction="value" wrap="no" />*
|
||||
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
|
||||
If *output* is specified, the window will be sent directly to the specified
|
||||
output and *direction* is ignored. If *output* 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).
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue