summaryrefslogtreecommitdiff
path: root/hw/xfree86/os-support/linux/lnx_init.c
diff options
context:
space:
mode:
authorDaniel Stone <daniel@fooishbar.org>2005-08-26 07:35:55 +0000
committerDaniel Stone <daniel@fooishbar.org>2005-08-26 07:35:55 +0000
commit3075df24e7931901c6f0526e10a89631fd73c4d0 (patch)
tree40a1243341654c7c2e4d2080a9802d9501cce6da /hw/xfree86/os-support/linux/lnx_init.c
parent89c84575ea905c7598d6b6029c9209abe1cfb074 (diff)
Subvert SIGUSR2 to reload all input devices. (Ubuntu #020)
Diffstat (limited to 'hw/xfree86/os-support/linux/lnx_init.c')
-rw-r--r--hw/xfree86/os-support/linux/lnx_init.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/xfree86/os-support/linux/lnx_init.c b/hw/xfree86/os-support/linux/lnx_init.c
index a52073d0a..9933c6f7b 100644
--- a/hw/xfree86/os-support/linux/lnx_init.c
+++ b/hw/xfree86/os-support/linux/lnx_init.c
@@ -289,6 +289,7 @@ xf86OpenConsole(void)
} else { /* ShareVTs */
close(xf86Info.consoleFd);
}
+ signal(SIGUSR2, xf86ReloadInputDevs);
} else { /* serverGeneration != 1 */
if (!ShareVTs && VTSwitch)
{