Implement foreign toplevel close

This commit is contained in:
Consolatis 2021-12-23 12:24:24 +01:00 committed by ARDiDo
parent 7e57b7fcf5
commit 80f012602f
4 changed files with 26 additions and 2 deletions

View file

@ -33,7 +33,7 @@ action(struct view *activator, struct server *server, const char *action, const
if (!strcasecmp(action, "Close")) {
struct view *view = activator_or_focused_view(activator, server);
if (view) {
view->impl->close(view);
view_close(view);
}
} else if (!strcasecmp(action, "Debug")) {
/* nothing */