aboutsummaryrefslogtreecommitdiff
path: root/backend/drm/backend.c
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2018-02-02 21:01:59 +0100
committeremersion <contact@emersion.fr>2018-02-02 21:01:59 +0100
commitbb4aeb3b2f8d739b042ab8c2f2b9b6d1caf6e26b (patch)
treea69ea4d3c502f037844d822c1a584acb766c4674 /backend/drm/backend.c
parent5aa642485d8d2e1cc17a105dfcc69dd93b20c9a9 (diff)
backend/drm: support updating cursor when session is paused
Diffstat (limited to 'backend/drm/backend.c')
-rw-r--r--backend/drm/backend.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/backend/drm/backend.c b/backend/drm/backend.c
index dc6757a5..2b54336f 100644
--- a/backend/drm/backend.c
+++ b/backend/drm/backend.c
@@ -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");