aboutsummaryrefslogtreecommitdiff
path: root/sway/desktop/render.c
diff options
context:
space:
mode:
authorBrian Ashworth <RedSoxFan@users.noreply.github.com>2018-10-08 15:28:09 -0400
committerGitHub <noreply@github.com>2018-10-08 15:28:09 -0400
commita999269e1cf8eeb423547a0c8ab3420f27628168 (patch)
tree3572a9e1bff58710c22638d85ce1206af3999d94 /sway/desktop/render.c
parenta03955f9368cfa1c190e4194eed8437dce22eb77 (diff)
parent3f328b62768d7801f0544b31ab8f9dde3014fd1d (diff)
Merge pull request #2782 from RyanDwyer/popup-during-fullscreen
Implement popup_during_fullscreen
Diffstat (limited to 'sway/desktop/render.c')
-rw-r--r--sway/desktop/render.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/sway/desktop/render.c b/sway/desktop/render.c
index c8b08a58..3617da87 100644
--- a/sway/desktop/render.c
+++ b/sway/desktop/render.c
@@ -961,6 +961,14 @@ void output_render(struct sway_output *output, struct timespec *when,
render_container(output, damage, fullscreen_con,
fullscreen_con->current.focused);
}
+
+ for (int i = 0; i < workspace->current.floating->length; ++i) {
+ struct sway_container *floater =
+ workspace->current.floating->items[i];
+ if (container_is_transient_for(floater, fullscreen_con)) {
+ render_floating_container(output, damage, floater);
+ }
+ }
#ifdef HAVE_XWAYLAND
render_unmanaged(output, damage, &root->xwayland_unmanaged);
#endif