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:
emersion 2018-10-09 14:46:24 +02:00
parent 8488ed2997
commit b66041a9e5
1 changed files with 0 additions and 1 deletions

View File

@ -1354,7 +1354,6 @@ static void drm_connector_cleanup(struct wlr_drm_connector *conn) {
conn->output.needs_swap = false; conn->output.needs_swap = false;
conn->output.frame_pending = false; conn->output.frame_pending = false;
conn->pageflip_pending = false;
/* Fallthrough */ /* Fallthrough */
case WLR_DRM_CONN_NEEDS_MODESET: case WLR_DRM_CONN_NEEDS_MODESET:
wlr_log(WLR_INFO, "Emitting destruction signal for '%s'", wlr_log(WLR_INFO, "Emitting destruction signal for '%s'",