mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-06 13:29:45 -05:00
backend/drm: fix missing crtc->cursor NULL check
Fixes: cdb6fdbc6c ("backend/drm: remove missing cursor plane workaround")
This commit is contained in:
parent
e7a8ea84c3
commit
d66b9966e9
1 changed files with 3 additions and 0 deletions
|
|
@ -977,6 +977,9 @@ static bool drm_connector_move_cursor(struct wlr_output *output,
|
|||
return false;
|
||||
}
|
||||
struct wlr_drm_plane *plane = conn->crtc->cursor;
|
||||
if (!plane) {
|
||||
return false;
|
||||
}
|
||||
|
||||
struct wlr_box box = { .x = x, .y = y };
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue