diff options
Diffstat (limited to 'src/xf86libinput.c')
-rw-r--r-- | src/xf86libinput.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/xf86libinput.c b/src/xf86libinput.c index 95e2d20..1ef6c6b 100644 --- a/src/xf86libinput.c +++ b/src/xf86libinput.c @@ -631,6 +631,7 @@ xf86libinput_init(DeviceIntPtr dev) /* unref the device now, because we'll get a new ref during DEVICE_ON */ libinput_device_unref(device); + driver_data->device = NULL; return 0; } |