diff --git a/os/inputthread.c b/os/inputthread.c index e815319f7..cb3af0661 100644 --- a/os/inputthread.c +++ b/os/inputthread.c @@ -205,7 +205,7 @@ InputThreadRegisterDev(int fd, dev->state = device_state_added; input_lock(); - xorg_list_add(&dev->node, &inputThreadInfo->devs); + xorg_list_append(&dev->node, &inputThreadInfo->devs); inputThreadInfo->changed = TRUE;