mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
Do not flush damage if swapping buffers failed
This should solve issues with multiple outputs on DRM backend.
This commit is contained in:
parent
7881d039b6
commit
20e6861021
2 changed files with 7 additions and 3 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue