Unshade window if selected from client-list-combined-menu

This commit is contained in:
Jacques Boscq 2026-01-28 22:28:04 +01:00 committed by Consolatis
parent 90812103b6
commit edf3624dac

View file

@ -1443,6 +1443,9 @@ menu_execute_item(struct menuitem *item)
*/ */
if (!strcmp(item->parent->id, "client-list-combined-menu") if (!strcmp(item->parent->id, "client-list-combined-menu")
&& item->client_list_view) { && item->client_list_view) {
if (item->client_list_view->shaded) {
view_set_shade(item->client_list_view, false);
}
actions_run(item->client_list_view, server, &item->actions, NULL); actions_run(item->client_list_view, server, &item->actions, NULL);
} else { } else {
actions_run(item->parent->triggered_by_view, server, actions_run(item->parent->triggered_by_view, server,