mirror of
https://github.com/cage-kiosk/cage.git
synced 2026-02-17 22:06:00 -05: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
b0bd4e680d
commit
b6024e982f
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