Fixed a segv that happened when I compiled with xinput=xfree, but had

no input devices.
This commit is contained in:
Raph Levien
1998-11-26 06:07:22 +00:00
parent b3c6723388
commit 484e10ac36
6 changed files with 20 additions and 0 deletions

View File

@ -235,6 +235,9 @@ devices_restore()
tmp_list = tmp_list->next;
}
if (device_info == NULL)
return;
suppress_update = TRUE;
if (device_info->is_init)