diff options
author | emersion <contact@emersion.fr> | 2018-06-02 20:41:40 +0100 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2018-06-02 20:42:26 +0100 |
commit | 51eee3aecc19063985a34226b287d1261a52ad18 (patch) | |
tree | 79120101f7927433b13c992415286409a4ee212f | |
parent | Merge pull request #2091 from martinetd/config-block-use-after-free (diff) | |
download | sway-51eee3aecc19063985a34226b287d1261a52ad18.tar.gz sway-51eee3aecc19063985a34226b287d1261a52ad18.tar.zst sway-51eee3aecc19063985a34226b287d1261a52ad18.zip |
Schedule a frame even if damage is empty
-rw-r--r-- | sway/desktop/output.c | 2 |
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, | |||
1066 | wlr_box_rotated_bounds(&box, rotation, &box); | 1066 | wlr_box_rotated_bounds(&box, rotation, &box); |
1067 | wlr_output_damage_add_box(output->damage, &box); | 1067 | wlr_output_damage_add_box(output->damage, &box); |
1068 | } | 1068 | } |
1069 | |||
1070 | wlr_output_schedule_frame(output->wlr_output); | ||
1069 | } | 1071 | } |
1070 | 1072 | ||
1071 | void output_damage_surface(struct sway_output *output, double ox, double oy, | 1073 | void output_damage_surface(struct sway_output *output, double ox, double oy, |