aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-09-04 23:10:37 +0200
committeremersion <contact@emersion.fr>2018-09-04 23:10:37 +0200
commit8a6bdc193d552119c828c4f9270fe6881fe5d083 (patch)
tree6a5b5c7ce4f638382de5ccda84fce29fa97cfc30 /backend
parent1342393632ca93c340fb4bc1dcb2824424bee939 (diff)
backend/drm: damage outputs when switching CRTCs
Diffstat (limited to 'backend')
-rw-r--r--backend/drm/drm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/backend/drm/drm.c b/backend/drm/drm.c
index a8cf55f6..43b6e3b1 100644
--- a/backend/drm/drm.c
+++ b/backend/drm/drm.c
@@ -835,6 +835,8 @@ void realloc_crtcs(struct wlr_drm_backend *drm, bool *changed_outputs) {
}
drm_connector_start_renderer(conn);
+
+ wlr_output_damage_whole(&conn->output);
}
}