rootston: only draw damaged regions

This commit is contained in:
emersion 2018-01-18 14:36:42 +01:00
parent 6fa0a91ee2
commit 5017d7f762
No known key found for this signature in database
GPG key ID: 0FDE7BE0E88F5E48
3 changed files with 121 additions and 81 deletions

View file

@ -255,6 +255,7 @@ bool view_center(struct roots_view *view) {
}
void view_destroy(struct roots_view *view) {
view_damage(view);
wl_signal_emit(&view->events.destroy, view);
if (view->fullscreen_output) {