1
0
xorg-x11-server/mouse.diff

16 lines
637 B
Diff

Index: hw/xfree86/common/xf86Configure.c
===================================================================
--- hw/xfree86/common/xf86Configure.c.orig
+++ hw/xfree86/common/xf86Configure.c
@@ -80,8 +80,8 @@ static char *DFLT_MOUSE_DEV = "/dev/mous
static char *DFLT_MOUSE_DEV = "/dev/sysmouse";
static char *DFLT_MOUSE_PROTO = "auto";
#elif defined(linux)
-static char DFLT_MOUSE_DEV[] = "/dev/input/mice";
-static char DFLT_MOUSE_PROTO[] = "auto";
+static char* DFLT_MOUSE_DEV = "/dev/input/mice";
+static char* DFLT_MOUSE_PROTO = "auto";
#else
static char *DFLT_MOUSE_DEV = "/dev/mouse";
static char *DFLT_MOUSE_PROTO = "auto";