This commit is contained in:
Timidger 2018-01-21 14:57:24 -05:00
parent 79f2c87193
commit 4478cf1ddc
No known key found for this signature in database
GPG Key ID: 42EF7ECE5FEF1D17
1 changed files with 3 additions and 0 deletions

View File

@ -501,6 +501,9 @@ static bool wlr_drm_connector_set_cursor(struct wlr_output *output,
struct wlr_drm_renderer *renderer = &drm->renderer; struct wlr_drm_renderer *renderer = &drm->renderer;
struct wlr_drm_crtc *crtc = conn->crtc; struct wlr_drm_crtc *crtc = conn->crtc;
if (!crtc) {
return false;
}
struct wlr_drm_plane *plane = crtc->cursor; struct wlr_drm_plane *plane = crtc->cursor;
// We don't have a real cursor plane, so we make a fake one // We don't have a real cursor plane, so we make a fake one