summaryrefslogtreecommitdiff
path: root/src/evdev.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@redhat.com>2008-10-27 15:54:49 +1030
committerPeter Hutterer <peter.hutterer@redhat.com>2008-10-28 09:09:14 +1030
commitaf096e8c5d8b425f725a37bf4a98e205e70716e9 (patch)
tree28d2cad41ace013ab8cfdbcfa3f1bd42d72b6da8 /src/evdev.c
parent12498042fcc08e34aef0117ce84192f59542fd56 (diff)
emuMB: add EvdevMBEmuOn and call from EvdevOn to register wakeup handlers.
This got broken in b0737bdbd1f6e601eb4984b6f4cb49279190984c, when the EmuMBPreInit call was removed from EvdevOn. As a result, VT switching away and back wouldn't restore the wakeup handlers and mouse button presses disappeared.
Diffstat (limited to 'src/evdev.c')
-rw-r--r--src/evdev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/evdev.c b/src/evdev.c
index d112efe..26ae0a1 100644
--- a/src/evdev.c
+++ b/src/evdev.c
@@ -1008,6 +1008,7 @@ EvdevOn(DeviceIntPtr device)
} else
{
xf86AddEnabledDevice(pInfo);
+ EvdevMBEmuOn(pInfo);
pEvdev->flags |= EVDEV_INITIALIZED;
device->public.on = TRUE;
}