diff options
author | dec05eba <dec05eba@protonmail.com> | 2023-09-29 20:56:59 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2023-09-29 20:56:59 +0200 |
commit | f89d23c2d0075dbc8bfaf589634bd75cfad3566c (patch) | |
tree | 2606c91deaac1bbea689e8abe1a632e7a8ddda84 /kms | |
parent | b6ea32330edeb9d5ac52aba86d7b6798cb91529f (diff) |
Remove unused cursor code
Diffstat (limited to 'kms')
-rw-r--r-- | kms/server/kms_server.c | 2 |
1 files changed, 2 insertions, 0 deletions
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; |