mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
backend/drm: support updating cursor when session is paused
This commit is contained in:
parent
5aa642485d
commit
bb4aeb3b2f
3 changed files with 18 additions and 9 deletions
|
|
@ -91,6 +91,8 @@ 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);
|
||||
drm->iface->crtc_move_cursor(drm, conn->crtc, conn->cursor_x,
|
||||
conn->cursor_y);
|
||||
}
|
||||
} else {
|
||||
wlr_log(L_INFO, "DRM fd paused");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue