ports/x11-drivers/xf86-input-mouse/files/patch-src_mouse.h
Niclas Zeising 92ea0d614b The FreeBSD x11 team proudly presents
an zeising, kwm, miwi, bapt, eadler production:

Xorg 7.7

Starring:
xserver 1.12.4 (new xorg only)
Mesa 8.0.4, including libGL, libGLU and dri (new xorg only)
libX11 1.5.0
libxcb 1.9
libdrm 2.4.42 (new xorg only)
freeglut 2.8.1
Also starring:
Updates to drivers and other libraries and utilities

Additional notes:
Change pkgconf to be a build dependency.
Add a new USE_XORG, xcb, to depend on libxcb and update all ports to use
this.
Trim makefile headers.
Take maintanership of x11/xcb-proto, ok'd by ashish.
If you are running WITH_NEW_XORG=, you need to rebuild all installed
drivers, see UPDATING for more information.
Various fixes to make ports compile.

PR:		ports/177942
Exp-run by:	miwi
Approved by:	portmgr (miwi)

Thanks to all who helped testing!
2013-05-25 14:37:02 +00:00

25 lines
1,008 B
C

--- src/mouse.h.orig 2012-07-27 08:10:56.000000000 +0200
+++ src/mouse.h 2012-07-30 00:41:02.000000000 +0200
@@ -217,10 +217,13 @@
Bool emulate3ButtonsSoft;
int emulate3Timeout;/* Timeout for 3 button emulation */
Bool chordMiddle;
+ Bool disableXY;
Bool flipXY;
int invX;
int invY;
int resolution;
+ Bool hasW;
+ Bool hasZ;
int negativeZ; /* button mask */
int positiveZ; /* button mask */
int negativeW; /* button mask */
@@ -259,6 +262,8 @@
int doubleClickOldSourceState;
int lastMappedButtons;
int buttonMap[MSE_MAXBUTTONS];
+ float fracdx,fracdy;
+ float sensitivity;
} MouseDevRec, *MouseDevPtr;
#endif /* _XF86OSMOUSE_H_ */