diff options
author | Simon Ser <contact@emersion.fr> | 2020-05-07 21:28:42 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-05-09 16:42:25 +0200 |
commit | da63d11d341e9e1bc3c0dcb040e2cc5d82a3959e (patch) | |
tree | 9938608ed1a38307cb6042828b1c5151afc2e01f /backend/drm/backend.c | |
parent | f8e02db4bcd297f6bef2387dc1a65b837619c07c (diff) |
backend/drm: remove crtc_set_cursor from interface
Diffstat (limited to 'backend/drm/backend.c')
-rw-r--r-- | backend/drm/backend.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/backend/drm/backend.c b/backend/drm/backend.c index 4eabb0ec..6f9370f3 100644 --- a/backend/drm/backend.c +++ b/backend/drm/backend.c @@ -100,19 +100,6 @@ static void session_signal(struct wl_listener *listener, void *data) { } else { enable_drm_connector(&conn->output, false); } - - if (!conn->crtc) { - continue; - } - - struct wlr_drm_plane *plane = conn->crtc->cursor; - struct gbm_bo *bo = NULL; - if (plane->cursor_enabled) { - bo = drm_fb_acquire(&plane->current_fb, drm, - &plane->mgpu_surf); - } - - drm->iface->crtc_set_cursor(drm, conn->crtc, bo); } } else { wlr_log(WLR_INFO, "DRM fd paused"); |