mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-04 13:29:45 -05:00
backend/drm: Update to new cursor API
This commit is contained in:
parent
ecb4faeed6
commit
2fcb2b95fc
5 changed files with 86 additions and 165 deletions
|
|
@ -105,7 +105,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->surf.back : NULL);
|
||||
(plane && conn->cursor_enabled) ? plane->surf.back : NULL);
|
||||
drm->iface->crtc_move_cursor(drm, conn->crtc, conn->cursor_x,
|
||||
conn->cursor_y);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue