mirror of
https://github.com/labwc/labwc.git
synced 2026-02-18 22:05:32 -05:00
menu: support client-list-combined-menu
...showing windows across all workspaces. <action name="ShowMenu" menu="client-list-combined-menu"/>
This commit is contained in:
parent
fc4bbca6f2
commit
71b2b5a4bc
5 changed files with 91 additions and 4 deletions
|
|
@ -665,6 +665,11 @@ show_menu(struct server *server, struct view *view,
|
|||
return;
|
||||
}
|
||||
|
||||
/* Need to refresh to show current windows and recalculate width */
|
||||
if (!strcasecmp(menu_name, "client-list-combined-menu")) {
|
||||
update_client_list_combined_menu(menu->server);
|
||||
}
|
||||
|
||||
int x = server->seat.cursor->x;
|
||||
int y = server->seat.cursor->y;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue