backend/drm: don't reset conn->pageflip_pending in drm_connector_cleanup
If a pageflip is pending before cleanup, it's still pending after. This is used line 1177: drm_connector_cleanup is called and conn->pageflip_pending is checked afterwards. Fixes #1297
This commit is contained in:
parent
8488ed2997
commit
b66041a9e5
|
@ -1354,7 +1354,6 @@ static void drm_connector_cleanup(struct wlr_drm_connector *conn) {
|
|||
conn->output.needs_swap = false;
|
||||
conn->output.frame_pending = false;
|
||||
|
||||
conn->pageflip_pending = false;
|
||||
/* Fallthrough */
|
||||
case WLR_DRM_CONN_NEEDS_MODESET:
|
||||
wlr_log(WLR_INFO, "Emitting destruction signal for '%s'",
|
||||
|
|
Loading…
Reference in New Issue