aboutsummaryrefslogtreecommitdiffstats
path: root/sway
diff options
context:
space:
mode:
Diffstat (limited to 'sway')
-rw-r--r--sway/desktop/output.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c
index 74919ccd..361a92d0 100644
--- a/sway/desktop/output.c
+++ b/sway/desktop/output.c
@@ -469,6 +469,12 @@ void output_damage_view(struct sway_output *output, struct sway_view *view,
469 return; 469 return;
470 } 470 }
471 471
472 struct sway_container *workspace = container_parent(view->swayc,
473 C_WORKSPACE);
474 if (workspace->sway_workspace->fullscreen && !view->is_fullscreen) {
475 return;
476 }
477
472 struct damage_data data = { 478 struct damage_data data = {
473 .output = output, 479 .output = output,
474 .whole = whole, 480 .whole = whole,