diff options
author | Drew DeVault <sir@cmpwn.com> | 2017-09-27 07:58:01 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-27 07:58:01 -0400 |
commit | d7d73cd2985d4c5d1fdadcfb63680c638e29a4a0 (patch) | |
tree | 3004cea696ad6278bae920bec2adf0f1aa1dc552 /backend/drm/backend.c | |
parent | 80a1cc01e9e13badd1596427a5a6d69ef53ab56c (diff) | |
parent | c8c5aedaa21e7b8c0a47761a987ab5770b674f0b (diff) |
Merge pull request #144 from ascent12/drm-dp-mst
DisplayPort MST
Diffstat (limited to 'backend/drm/backend.c')
-rw-r--r-- | backend/drm/backend.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/backend/drm/backend.c b/backend/drm/backend.c index 68e73268..8d562007 100644 --- a/backend/drm/backend.c +++ b/backend/drm/backend.c @@ -26,6 +26,9 @@ static void wlr_drm_backend_destroy(struct wlr_backend *_backend) { return; } struct wlr_drm_backend *backend = (struct wlr_drm_backend *)_backend; + + wlr_drm_restore_outputs(backend); + for (size_t i = 0; backend->outputs && i < backend->outputs->length; ++i) { struct wlr_drm_output *output = backend->outputs->items[i]; wlr_output_destroy(&output->output); |