mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-02 09:01:38 -05:00
backend/drm: Unset cursor on cleanup
This will prevent the cursor from persisting on the Linux framebuffer terminal on exit.
This commit is contained in:
parent
e77e53dae5
commit
d945c97926
1 changed files with 1 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue