aboutsummaryrefslogtreecommitdiffstats
path: root/sway/desktop/output.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/desktop/output.c')
-rw-r--r--sway/desktop/output.c14
1 files changed, 8 insertions, 6 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c
index 1764b4e3..cecd300a 100644
--- a/sway/desktop/output.c
+++ b/sway/desktop/output.c
@@ -279,13 +279,15 @@ static void send_frame_done(struct sway_output *output, struct timespec *when) {
279 279
280 struct sway_container *workspace = output_get_active_workspace(output); 280 struct sway_container *workspace = output_get_active_workspace(output);
281 if (workspace->current.ws_fullscreen) { 281 if (workspace->current.ws_fullscreen) {
282 send_frame_done_container_iterator( 282 if (workspace->current.ws_fullscreen->type == C_VIEW) {
283 workspace->current.ws_fullscreen->swayc, &data); 283 send_frame_done_container_iterator(
284#ifdef HAVE_XWAYLAND 284 workspace->current.ws_fullscreen, &data);
285 if (workspace->current.ws_fullscreen->type == SWAY_VIEW_XWAYLAND) { 285 } else {
286 send_frame_done_unmanaged(&data, 286 send_frame_done_container(&data, workspace->current.ws_fullscreen);
287 &root_container.sway_root->xwayland_unmanaged);
288 } 287 }
288#ifdef HAVE_XWAYLAND
289 send_frame_done_unmanaged(&data,
290 &root_container.sway_root->xwayland_unmanaged);
289#endif 291#endif
290 } else { 292 } else {
291 send_frame_done_layer(&data, 293 send_frame_done_layer(&data,