mirror of
https://github.com/cage-kiosk/cage.git
synced 2026-04-09 08:21:23 -04:00
Fully support multiple primary clients
This is the path we settled on in #24. That is: any new toplevel window takes over the Cage display, hiding any previous toplevels until it is closed. Only when the last toplevel is closed, does Cage exit as well.
This commit is contained in:
parent
818166e702
commit
bf2b4d7b80
4 changed files with 8 additions and 18 deletions
2
output.c
2
output.c
|
|
@ -133,7 +133,7 @@ handle_output_frame(struct wl_listener *listener, void *data)
|
|||
view_for_each_surface(view, render_surface, &rdata);
|
||||
/* If we have dialogs open and this view is not the
|
||||
top of the stack, draw an overlay. */
|
||||
if (have_dialogs_open(output->server) &&
|
||||
if (view_has_children(output->server, view) &&
|
||||
view->link.prev != &output->server->views) {
|
||||
render_overlay(renderer, output->wlr_output, width, height);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue