mirror of
https://github.com/labwc/labwc.git
synced 2025-10-29 05:40:24 -04:00
action: allow client-menu to open at mouse cursor
This commit is contained in:
parent
bfa3a32ae3
commit
cdac800692
4 changed files with 496 additions and 137 deletions
|
|
@ -105,8 +105,17 @@ Actions are used in menus and keyboard/mouse bindings.
|
|||
*<action name="Reconfigure" />*
|
||||
Re-load configuration and theme files.
|
||||
|
||||
*<action name="ShowMenu" menu="value" />*
|
||||
Show menu. Valid menu names are "root-menu" and "client-menu".
|
||||
*<action name="ShowMenu" menu="value" atCursor="yes" />*
|
||||
Show a menu.
|
||||
|
||||
*menu* The name of the menu to show. The menus "root-menu" and
|
||||
"client-menu" are guaranteed to exist, but others may be defined
|
||||
explicitly. See labwc-menu(5) for more information.
|
||||
|
||||
*atCursor* [yes|no] When opening a menu, open the menu at the location
|
||||
of the mouse cursor. When set to no, the menu will appear at the
|
||||
upper-left corner of the window associated with the action. Default is
|
||||
yes.
|
||||
|
||||
*<action name="ToggleDecorations" />*
|
||||
Toggle decorations of focused window.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue