mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-01 22:58:38 -04:00
backend/drm: destroy output immediately
Instead of waiting for the next pageflip, destroy the output immediately since we can now handle flips for outputs which no longer exist. Also demote the missing crtc on flip to debug. Fixes #1739
This commit is contained in:
parent
6396710976
commit
4d36cc86eb
2 changed files with 2 additions and 15 deletions
|
|
@ -98,8 +98,6 @@ enum wlr_drm_connector_state {
|
|||
WLR_DRM_CONN_NEEDS_MODESET,
|
||||
WLR_DRM_CONN_CLEANUP,
|
||||
WLR_DRM_CONN_CONNECTED,
|
||||
// Connector disappeared, waiting for being destroyed on next page-flip
|
||||
WLR_DRM_CONN_DISAPPEARED,
|
||||
};
|
||||
|
||||
struct wlr_drm_mode {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue