aboutsummaryrefslogtreecommitdiff
path: root/backend
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-10-09 14:46:24 +0200
committeremersion <contact@emersion.fr>2018-10-09 14:54:33 +0200
commitb66041a9e583a87c25b1d63a4c8b432d03999cc0 (patch)
tree0f0bbfd1699a39b63cd9d818c38c37621d4f003e /backend
parent8488ed299745f05ad6445cb22006da20fe926891 (diff)
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
Diffstat (limited to 'backend')
-rw-r--r--backend/drm/drm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/backend/drm/drm.c b/backend/drm/drm.c
index d6a7582c..1313e7fe 100644
--- a/backend/drm/drm.c
+++ b/backend/drm/drm.c
@@ -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'",