Merge pull request #1301 from emersion/cleanup-page-flip

backend/drm: don't reset conn->pageflip_pending in drm_connector_cleanup
This commit is contained in:
Drew DeVault 2018-10-09 20:57:02 +02:00 committed by GitHub
commit 7dedfce1ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'",