aboutsummaryrefslogtreecommitdiff
path: root/sway/desktop/output.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/output.c
parenta03955f9368cfa1c190e4194eed8437dce22eb77 (diff)
parent3f328b62768d7801f0544b31ab8f9dde3014fd1d (diff)
Merge pull request #2782 from RyanDwyer/popup-during-fullscreen
Implement popup_during_fullscreen
Diffstat (limited to 'sway/desktop/output.c')
-rw-r--r--sway/desktop/output.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c
index cfb5a710..adc1ee10 100644
--- a/sway/desktop/output.c
+++ b/sway/desktop/output.c
@@ -329,6 +329,14 @@ static void send_frame_done(struct sway_output *output, struct timespec *when) {
workspace->current.fullscreen, &data);
container_for_each_child(workspace->current.fullscreen,
send_frame_done_container_iterator, &data);
+ 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,
+ workspace->current.fullscreen)) {
+ send_frame_done_container_iterator(floater, &data);
+ }
+ }
#ifdef HAVE_XWAYLAND
send_frame_done_unmanaged(output, &root->xwayland_unmanaged, when);
#endif