diff options
author | Simon Ser <contact@emersion.fr> | 2021-07-05 10:57:33 +0200 |
---|---|---|
committer | Simon Zeni <simon@bl4ckb0ne.ca> | 2021-07-05 10:55:41 -0400 |
commit | 5f26360bd89b3e4818474142332744268fec45d4 (patch) | |
tree | 4e631d6f27b807aa6d701af17af078243155a02c /backend/drm | |
parent | e8c408b31bf41e25c00239929b9003fa09c51617 (diff) |
Revert "backend/drm: populate cursor plane's current_fb"
This reverts commit 6c3d080e25e56404228ad7704eed43e40fa0c623.
Populating wlr_drm_plane.current_fb messes up the buffer's locking.
The previous buffer is released while it's still being displayed
on-screen.
Diffstat (limited to 'backend/drm')
-rw-r--r-- | backend/drm/drm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/drm/drm.c b/backend/drm/drm.c index 6cfdb648..7700bd2d 100644 --- a/backend/drm/drm.c +++ b/backend/drm/drm.c @@ -933,7 +933,7 @@ static bool drm_connector_set_cursor(struct wlr_output *output, local_buf = wlr_buffer_lock(buffer); } - bool ok = drm_fb_import(&plane->current_fb, drm, local_buf, + bool ok = drm_fb_import(&plane->pending_fb, drm, local_buf, &plane->formats); wlr_buffer_unlock(local_buf); if (!ok) { |