aboutsummaryrefslogtreecommitdiff
path: root/backend/drm
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-01-28 22:39:24 +0100
committeremersion <contact@emersion.fr>2018-01-28 22:39:24 +0100
commit20e6861021ddce3c12f896aa2a961a4da23f98ad (patch)
treecbd138fefdba06b95a8f2b9b9fd00355263a5d02 /backend/drm
parent7881d039b6824eb245496becebf02d3eea55a909 (diff)
Do not flush damage if swapping buffers failed
This should solve issues with multiple outputs on DRM backend.
Diffstat (limited to 'backend/drm')
-rw-r--r--backend/drm/drm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/drm/drm.c b/backend/drm/drm.c
index 024bc929..a9cfa276 100644
--- a/backend/drm/drm.c
+++ b/backend/drm/drm.c
@@ -210,7 +210,7 @@ static bool wlr_drm_connector_swap_buffers(struct wlr_output *output) {
if (conn->pageflip_pending) {
wlr_log(L_ERROR, "Skipping pageflip");
- return true;
+ return false;
}
if (drm->iface->crtc_pageflip(drm, conn, crtc, fb_id, NULL)) {