diff options
author | Scott Anderson <scott@anderso.nz> | 2019-02-24 17:00:49 +1300 |
---|---|---|
committer | emersion <contact@emersion.fr> | 2019-02-24 09:04:36 +0100 |
commit | d945c979260bb6f684fba38f21acdb1e6f7027b9 (patch) | |
tree | 3fbb56886f21b29a92b1cfd3e5a0221d1422851b /backend/drm | |
parent | e77e53dae51a3a46e1327c0c53e69d6da695cc9a (diff) |
backend/drm: Unset cursor on cleanup
This will prevent the cursor from persisting on the Linux framebuffer
terminal on exit.
Diffstat (limited to 'backend/drm')
-rw-r--r-- | backend/drm/drm.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/backend/drm/drm.c b/backend/drm/drm.c index 12ed61ef..40a1fdbf 100644 --- a/backend/drm/drm.c +++ b/backend/drm/drm.c @@ -1380,6 +1380,7 @@ void restore_drm_outputs(struct wlr_drm_backend *drm) { drmModeSetCrtc(drm->fd, crtc->crtc_id, crtc->buffer_id, crtc->x, crtc->y, &conn->id, 1, &crtc->mode); + drmModeSetCursor(drm->fd, crtc->crtc_id, 0, 0, 0); } } |