mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
Revert "backend/drm: populate cursor plane's current_fb"
This reverts commit 6c3d080e25.
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.
This commit is contained in:
parent
e8c408b31b
commit
5f26360bd8
1 changed files with 1 additions and 1 deletions
|
|
@ -933,7 +933,7 @@ static bool drm_connector_set_cursor(struct wlr_output *output,
|
||||||
local_buf = wlr_buffer_lock(buffer);
|
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);
|
&plane->formats);
|
||||||
wlr_buffer_unlock(local_buf);
|
wlr_buffer_unlock(local_buf);
|
||||||
if (!ok) {
|
if (!ok) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue