Skip to content
This repository was archived by the owner on Nov 1, 2021. It is now read-only.

Commit

Permalink
backend/drm: Unset cursor on cleanup
Browse files Browse the repository at this point in the history
This will prevent the cursor from persisting on the Linux framebuffer
terminal on exit.
  • Loading branch information
ascent12 authored and emersion committed Feb 24, 2019
1 parent e77e53d commit d945c97
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions backend/drm/drm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

Expand Down

0 comments on commit d945c97

Please sign in to comment.