commit a44d016e2b24a3454551c27f9252b4c419968760
parent c685ef081f090d1e15428f55426e02f2274312d0
Author: Ryan Dwyer <ryandwyer1@gmail.com>
Date: Tue, 17 Apr 2018 10:58:42 +1000
Don't damage views if they're hidden by a fullscreen view.
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git 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,
return;
}
+ struct sway_container *workspace = container_parent(view->swayc,
+ C_WORKSPACE);
+ if (workspace->sway_workspace->fullscreen && !view->is_fullscreen) {
+ return;
+ }
+
struct damage_data data = {
.output = output,
.whole = whole,