action: add "Close" to close top-most view

This commit is contained in:
Johan Malm 2021-07-12 21:46:10 +01:00
parent 9fa783e7b4
commit eaed1a3cab
4 changed files with 9 additions and 2 deletions

View file

@ -189,7 +189,7 @@ has_mapped_view(struct wl_list *wl_list)
return false;
}
static struct view *
struct view *
topmost_mapped_view(struct server *server)
{
if (!has_mapped_view(&server->views)) {