mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-31 22:25:21 -04:00
Do not set hw cursor if disabled when switching VT
This commit is contained in:
parent
b3eec47d57
commit
9d587d759f
3 changed files with 4 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ 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_bo : NULL);
|
||||
(plane && plane->cursor_enabled) ? plane->cursor_bo : NULL);
|
||||
}
|
||||
} else {
|
||||
wlr_log(L_INFO, "DRM fd paused");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue