<Swing Dev> Swing Dev> Review Request JDK-8158205 HiDPI hand cursor broken on Windows

Rajeev Chamyal rajeev.chamyal at oracle.com
Tue Jul 5 07:08:22 UTC 2016


Hello All,

 

Please review the following fix.

Bug: https://bugs.openjdk.java.net/browse/JDK-8158205 

Webrev: http://cr.openjdk.java.net/~rchamyal/8158205/webrev.00/

 

Issue: Incorrect cursor type is displayed over frame in Hidpi screen.

 

Cause:  Windows getCursorPos API is returning scaled screen co-ordinates for mouse 

as a result the findComponentAt is not able to find the frame below mouse pointer and its returning incorrect cursor type. 

 
Fix: Updated awt_Cursor.cpp:: getCursorPos to return scaled down co-ordinates.
 
Regards,
Rajeev Chamyal

 

 

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/swing-dev/attachments/20160705/be92a232/attachment.html>


More information about the swing-dev mailing list