Changeset View
Changeset View
Standalone View
Standalone View
x11-servers/xorg-server/files/patch-hw_xfree86_common_xf86Xinput.c
Index: hw/xfree86/common/xf86Xinput.c | --- hw/xfree86/common/xf86Xinput.c.orig 2016-07-19 17:07:29 UTC | ||||
@@ -942,6 +942,7 @@ | +++ hw/xfree86/common/xf86Xinput.c | ||||
@@ -841,7 +841,7 @@ xf86NewInputDevice(InputInfoPtr pInfo, D | |||||
{ | |||||
InputDriverPtr drv = NULL; | |||||
DeviceIntPtr dev = NULL; | |||||
- Bool paused; | |||||
+ Bool paused = 0; | |||||
int rval; | |||||
char *path = NULL; | |||||
@@ -996,6 +996,7 @@ NewInputDeviceRequest(InputOption *optio | |||||
if (strcmp(key, "_source") == 0 && | if (strcmp(key, "_source") == 0 && | ||||
(strcmp(value, "server/hal") == 0 || | (strcmp(value, "server/hal") == 0 || | ||||
strcmp(value, "server/udev") == 0 || | strcmp(value, "server/udev") == 0 || | ||||
+ strcmp(value, "server/devd") == 0 || | + strcmp(value, "server/devd") == 0 || | ||||
strcmp(value, "server/wscons") == 0)) { | strcmp(value, "server/wscons") == 0)) { | ||||
is_auto = 1; | is_auto = 1; | ||||
if (!xf86Info.autoAddDevices) { | if (!xf86Info.autoAddDevices) { |