mirror of
https://github.com/labwc/labwc.git
synced 2026-02-11 04:27:51 -05:00
implement Resize as an action
this requires action() to know the resize edges to use, so thread them through
This commit is contained in:
parent
8eab1e8132
commit
031ced85ef
5 changed files with 24 additions and 13 deletions
|
|
@ -416,7 +416,7 @@ menu_action_selected(struct server *server, struct menu *menu)
|
|||
struct menuitem *menuitem;
|
||||
wl_list_for_each (menuitem, &menu->menuitems, link) {
|
||||
if (menuitem->selected && !menuitem->submenu) {
|
||||
action(server, menuitem->action, menuitem->command);
|
||||
action(server, menuitem->action, menuitem->command, 0);
|
||||
break;
|
||||
}
|
||||
if (menuitem->submenu) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue