aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-06-02 20:50:56 +0100
committerGitHub <noreply@github.com>2018-06-02 20:50:56 +0100
commitfb932cf8477120ee9fd9db37be1cd26a603fe0a3 (patch)
tree79120101f7927433b13c992415286409a4ee212f
parent5b72e8606c5a160468ffa6ec6f3327669d39257b (diff)
parent51eee3aecc19063985a34226b287d1261a52ad18 (diff)
downloadsway-fb932cf8477120ee9fd9db37be1cd26a603fe0a3.tar.xz
Merge pull request #2094 from emersion/damage-schedule
Schedule a frame even if damage is empty
-rw-r--r--sway/desktop/output.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/desktop/output.c b/sway/desktop/output.c
index 763f053c..964cfe00 100644
--- a/sway/desktop/output.c
+++ b/sway/desktop/output.c
@@ -1066,6 +1066,8 @@ static void damage_surface_iterator(struct wlr_surface *surface, int sx, int sy,
wlr_box_rotated_bounds(&box, rotation, &box);
wlr_output_damage_add_box(output->damage, &box);
}
+
+ wlr_output_schedule_frame(output->wlr_output);
}
void output_damage_surface(struct sway_output *output, double ox, double oy,