mirror of
https://github.com/labwc/labwc.git
synced 2025-11-02 09:01:47 -05:00
menu: support pipemenu with the toplevel <menu> element
For example:
<?xml version="1.0"?>
<openbox_menu>
<menu id="root-menu" label="" execute="obmenu-generator"/>
</openbox_menu>
Fixes: #2238
Co-Authored-By: @Consolatis
This commit is contained in:
parent
a93eb84335
commit
956b271f9b
3 changed files with 90 additions and 15 deletions
|
|
@ -42,6 +42,7 @@ struct menu {
|
|||
char *id;
|
||||
char *label;
|
||||
struct menu *parent;
|
||||
struct menu_pipe_context *pipe_ctx;
|
||||
|
||||
struct {
|
||||
int width;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue