summaryrefslogtreecommitdiff
path: root/xserver/os/inputthread.c
diff options
context:
space:
mode:
authorMatthieu Herrb <matthieu@cvs.openbsd.org>2019-07-27 07:57:27 +0000
committerMatthieu Herrb <matthieu@cvs.openbsd.org>2019-07-27 07:57:27 +0000
commitd4a0bed4b91da9de86c311c7fef9a8aa9a6f500c (patch)
treea1b439049dee87bc951e190db93f5bbe8b43b0b5 /xserver/os/inputthread.c
parentb6bc775539a31f663f9e22ce3ccaf0aa96adf3b6 (diff)
Update to xserver 1.20.5. Tested by jsg@
Diffstat (limited to 'xserver/os/inputthread.c')
-rw-r--r--xserver/os/inputthread.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/xserver/os/inputthread.c b/xserver/os/inputthread.c
index dc4eb9f20..97e59d21f 100644
--- a/xserver/os/inputthread.c
+++ b/xserver/os/inputthread.c
@@ -410,6 +410,8 @@ InputThreadPreInit(void)
if (!inputThreadInfo)
FatalError("input-thread: could not allocate memory");
+ inputThreadInfo->changed = FALSE;
+
inputThreadInfo->thread = 0;
xorg_list_init(&inputThreadInfo->devs);
inputThreadInfo->fds = ospoll_create();