Skip to content

Commit

Permalink
Merge pull request #2094 from emersion/damage-schedule
Browse files Browse the repository at this point in the history
Schedule a frame even if damage is empty
  • Loading branch information
emersion authored Jun 2, 2018
2 parents 5b72e86 + 51eee3a commit fb932cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sway/desktop/output.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit fb932cf

Please sign in to comment.