mousewheel metric
Alex Pasadyn
ajp at mail.utexas.edu
Fri Feb 6 13:00:28 CST 2004
ChangeLog:
- Report the mouse wheel as present in the system metrics
I had long been confused by some applications not responding to the
mouse wheel, even though I clearly could see that the X events were
getting through correctly. When I was preparing my other sysmetrics
patch, I noticed this, and upon switching it, I noticed an improvement.
Specifically, now I can use the mouse wheel to cycle through the active
skill list in Diablo 2.
-ajp
-------------- next part --------------
Index: windows/sysmetrics.c
===================================================================
RCS file: /home/wine/wine/windows/sysmetrics.c,v
retrieving revision 1.35
diff -u -r1.35 sysmetrics.c
--- windows/sysmetrics.c 5 Sep 2003 23:15:39 -0000 1.35
+++ windows/sysmetrics.c 6 Feb 2004 18:21:40 -0000
@@ -250,7 +250,7 @@
/* FIXME: Should perform a check */
sysMetrics[SM_MIDEASTENABLED] = 0;
- sysMetrics[SM_MOUSEWHEELPRESENT] = 0;
+ sysMetrics[SM_MOUSEWHEELPRESENT] = 1;
sysMetrics[SM_CXVIRTUALSCREEN] = sysMetrics[SM_CXSCREEN];
sysMetrics[SM_CYVIRTUALSCREEN] = sysMetrics[SM_CYSCREEN];
More information about the wine-patches
mailing list