diff -Naur xorg-server-1.1.1/hw/xfree86/os-support/linux/lnx_acpi.c xorg-server-1.1.1-X-shouldnt-crash-when-closing-lid/hw/xfree86/os-support/linux/lnx_acpi.c --- xorg-server-1.1.1/hw/xfree86/os-support/linux/lnx_acpi.c 2006-07-05 20:31:41.000000000 +0200 +++ xorg-server-1.1.1-X-shouldnt-crash-when-closing-lid/hw/xfree86/os-support/linux/lnx_acpi.c 2006-10-27 14:13:17.000000000 +0200 @@ -65,7 +65,7 @@ char *data = NULL; /* doesn't appear to be used in the kernel */ unsigned long int notify_l, data_l; - video = strtok(ev, "video"); + video = strtok(ev, " "); GFX = strtok(NULL, " "); #if 0