Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

adding large cursor support #2315

Closed
wants to merge 2 commits into from
Closed

Conversation

jsorg71
Copy link
Contributor

@jsorg71 jsorg71 commented Jul 14, 2022

No description provided.

@matt335672
Copy link
Member

@jsorg71 - I'll try to get a look at this next week sometime,

@jsorg71
Copy link
Contributor Author

jsorg71 commented Jul 20, 2022

Take your time, I still have to add xup and xorg bits

@rbreaves
Copy link

rbreaves commented Sep 18, 2022

@jsorg71 Does this mean clean looking hidpi cursor support is coming online with this patch? Doing the lords work if so, I have been meaning to look into hidpi support for the cursor.

caps_count++;
out_uint16_le(s, CAPSETTYPE_LARGE_POINTER);
out_uint16_le(s, CAPSETTYPE_LARGE_POINTER_LEN);
out_uint16_le(s, 1); /* LARGE_POINTER_FLAG_96x96 */
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we add this to ms-rdpbcgr.h ? Something like #define LARGE_POINTER_FLAG_96x96 1? It just helps when searching the code.

@matt335672
Copy link
Member

One very minor comment added.

There's also the VNC module. I'm not suggesting you tackle this now, but when we merge this it might be worth adding a feature request to update that too.

@pnowack
Copy link

pnowack commented Apr 24, 2023

Just FYI, there are two types of large pointer updates: The one that you implemented here (for handling up to 96x96 bitmaps) and there is another one that allows handling for bitmaps up to 384x384 pixels (LARGE_POINTER_FLAG_384x384).
The latter one also uses its own struct (See also 2.2.9.1.2.1.11 Fast-Path Large Pointer Update ([MS-RDPBCGR])).

@jsorg71
Copy link
Contributor Author

jsorg71 commented Apr 24, 2023

Thanks @pnowack , I didn't know that. I see it here 2.2.7.2.7.

@jsorg71
Copy link
Contributor Author

jsorg71 commented Apr 25, 2023

BTW, I simple was to get large cursors is to
edit ~/.Xresources and add Xcursor.size: 64

@jsorg71
Copy link
Contributor Author

jsorg71 commented Apr 28, 2023

@matt335672 I went to add large cursor to libvnc and seen it does not even support new cursors yet. I think lets do a todo for this so some can enjoy large cursors with xorg backend.

@matt335672
Copy link
Member

Definitely - there's no need to hold this one up. When we merge this one, we can just add a feature request for VNC large cursors.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants