aboutsummaryrefslogtreecommitdiff
path: root/backend/drm/backend.c
diff options
context:
space:
mode:
authorScott Anderson <ascent12@hotmail.com>2019-02-04 21:34:40 +0000
committerGitHub <noreply@github.com>2019-02-04 21:34:40 +0000
commitb2f56ad4a84229239f55a6e0235fa7b76a9b2feb (patch)
tree25728ccaf55eb0743a3cf41829e2583bc195f53f /backend/drm/backend.c
parent721a810f72aed867176f3721a4462fc24c790954 (diff)
parent7bc43413edc2db04bbfba395f9606957ff2fa21c (diff)
Merge pull request #1526 from VincentVanlaer/cursor-dmabuf
Allow cursor render surface to be used as fb
Diffstat (limited to 'backend/drm/backend.c')
-rw-r--r--backend/drm/backend.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/drm/backend.c b/backend/drm/backend.c
index a9082077..e1ec0966 100644
--- a/backend/drm/backend.c
+++ b/backend/drm/backend.c
@@ -104,7 +104,7 @@ static void session_signal(struct wl_listener *listener, void *data) {
struct wlr_drm_plane *plane = conn->crtc->cursor;
drm->iface->crtc_set_cursor(drm, conn->crtc,
- (plane && plane->cursor_enabled) ? plane->cursor_bo : NULL);
+ (plane && plane->cursor_enabled) ? plane->surf.back : NULL);
drm->iface->crtc_move_cursor(drm, conn->crtc, conn->cursor_x,
conn->cursor_y);