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

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_crtc *crtc = conn->crtc;
if (!crtc) {
return false;
}
struct wlr_drm_plane *plane = crtc->cursor;
// We don't have a real cursor plane, so we make a fake one