menu: support client-list-combined-menu

...showing windows across all workspaces.

<action name="ShowMenu" menu="client-list-combined-menu"/>
This commit is contained in:
Droc 2024-09-17 06:52:10 -05:00 committed by Johan Malm
parent fc4bbca6f2
commit 71b2b5a4bc
5 changed files with 91 additions and 4 deletions

View file

@ -114,9 +114,10 @@ Actions are used in menus and keyboard/mouse bindings.
*<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.
*menu* The name of the menu to show. The menus "root-menu",
"client-menu", and "client-list-combined-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

View file

@ -48,6 +48,8 @@ The menu file must be entirely enclosed within <openbox_menu> and
ShowMenu action. Default identifiers are
- "root-menu" for the root window context menu
- "client-menu" for a window's titlebar context menu
- "client-list-combined-menu" for a list of all windows across
all workspaces
*menu.id* (when nested under other *<menu>* element)
Link to a submenu defined elsewhere (by a *<menu id="">* at toplevel)