From f89d23c2d0075dbc8bfaf589634bd75cfad3566c Mon Sep 17 00:00:00 2001 From: dec05eba Date: Fri, 29 Sep 2023 20:56:59 +0200 Subject: Remove unused cursor code --- kms/server/kms_server.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'kms/server') diff --git a/kms/server/kms_server.c b/kms/server/kms_server.c index 0ff0b03..a3b9687 100644 --- a/kms/server/kms_server.c +++ b/kms/server/kms_server.c @@ -262,6 +262,8 @@ static int kms_get_fb(gsr_drm *drm, gsr_kms_response *response, connector_to_crt response->fds[response->num_fds].modifier = drmfb->modifier; response->fds[response->num_fds].connector_id = get_connector_by_crtc_id(c2crtc_map, plane->crtc_id); response->fds[response->num_fds].is_cursor = is_cursor; + // TODO: This is not an accurate way to detect it. First of all, it always fails with multiple monitors + // on wayland as the drmfb always has multiple planes response->fds[response->num_fds].is_combined_plane = drmfb_has_multiple_handles(drmfb); if(is_cursor) { response->fds[response->num_fds].x = x; -- cgit v1.2.3