Devolutions / IronRDP

Rust implementation of the Microsoft Remote Desktop Protocol (RDP)
Apache License 2.0
368 stars 48 forks source link

Mouse position looks like wrong when connect to windows on macos #507

Open binbowang1987 opened 1 month ago

binbowang1987 commented 1 month ago

./target/debug/ironrdp-client -u username -p 'xxxx' 172.17.56.83

image

CBenoit commented 1 month ago

Do you think you could look into this? I don’t have a MacOS machine I can test on easily.

The mouse position is handed to us by winit at this place:

https://github.com/Devolutions/IronRDP/blob/b6a839e2489f7329e86b6730ebd57e78a7a9d306/crates/ironrdp-client/src/gui.rs#L143-L155

I see there is a FIXME about HiDPI remotes. Is your remote machine HiDPI?

binbowang1987 commented 1 month ago

Yes, my remote machine is HiDPI.