projects
/
platform
/
upstream
/
freerdp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6d553a7
)
Fixed #5406: Ensure mouse wheel rotation step is never zero
author
Armin Novak
<armin.novak@thincast.com>
Tue, 25 Jun 2019 08:31:17 +0000
(10:31 +0200)
committer
Armin Novak
<armin.novak@thincast.com>
Tue, 25 Jun 2019 08:31:17 +0000
(10:31 +0200)
thank you @victorking528
client/Mac/MRDPView.m
patch
|
blob
|
history
diff --git
a/client/Mac/MRDPView.m
b/client/Mac/MRDPView.m
index
47f2975
..
bdc3c32
100644
(file)
--- a/
client/Mac/MRDPView.m
+++ b/
client/Mac/MRDPView.m
@@
-434,6
+434,9
@@
DWORD WINAPI mac_client_thread(void* param)
return;
/* send out all accumulated rotations */
+ if (units > WheelRotationMask)
+ units = WheelRotationMask;
+
while (units != 0)
{
/* limit to maximum value in WheelRotationMask (9bit signed value) */