mirror of
https://github.com/labwc/labwc.git
synced 2026-02-20 01:40:22 -05:00
client send to menu
Shows all workspaces that current view can be sent to. Works best when added to Client menu. <menu id="client-send-to-menu" label="Send to..." /> Menu uses ">" and "<" to highlight the current workspace
This commit is contained in:
parent
4f11dad45b
commit
4a1375c701
6 changed files with 68 additions and 7 deletions
|
|
@ -115,9 +115,9 @@ Actions are used in menus and keyboard/mouse bindings.
|
|||
Show a menu.
|
||||
|
||||
*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.
|
||||
"client-menu", "client-send-to-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
|
||||
|
|
|
|||
|
|
@ -49,7 +49,11 @@ The menu file must be entirely enclosed within <openbox_menu> and
|
|||
- "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
|
||||
all workspaces. Will change focus to the app that gets
|
||||
selected or go to workspace without activating any app if
|
||||
"Go there" is selected.
|
||||
- "client-send-to-menu" shows all workspaces and sends current
|
||||
view to that workspace when selected.
|
||||
|
||||
*menu.id* (when nested under other *<menu>* element)
|
||||
Link to a submenu defined elsewhere (by a *<menu id="">* at toplevel)
|
||||
|
|
|
|||
|
|
@ -37,6 +37,13 @@
|
|||
<action name="ToggleOmnipresent" />
|
||||
</item>
|
||||
</menu>
|
||||
<!--
|
||||
openbox default workspace selector
|
||||
to use replace above workspace menu with the example below
|
||||
the label is required, but you can change the text.
|
||||
|
||||
<menu id="client-send-to-menu" label="Send to..." />
|
||||
-->
|
||||
<item label="Close">
|
||||
<action name="Close" />
|
||||
</item>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue