From 51eee3aecc19063985a34226b287d1261a52ad18 Mon Sep 17 00:00:00 2001 From: emersion Date: Sat, 2 Jun 2018 20:41:40 +0100 Subject: Schedule a frame even if damage is empty --- sway/desktop/output.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sway/desktop/output.c') 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, -- cgit v1.2.3-54-g00ecf