Windows: fix get-current-mouse-state
for HiDPI
This commit is contained in:
parent
65fc1c4e8f
commit
87e17a89da
|
@ -136,7 +136,7 @@
|
|||
(list sym)
|
||||
null))
|
||||
(define swapped? (not (zero? (GetSystemMetrics SM_SWAPBUTTON))))
|
||||
(values (make-object point% (POINT-x p) (POINT-y p))
|
||||
(values (make-object point% (->normal (POINT-x p)) (->normal (POINT-y p)))
|
||||
(append
|
||||
(maybe (if swapped? VK_RBUTTON VK_LBUTTON) 'left)
|
||||
(maybe (if swapped? VK_LBUTTON VK_RBUTTON) 'right)
|
||||
|
|
Loading…
Reference in New Issue
Block a user