diff options
author | Julien Cristau <jcristau@debian.org> | 2007-11-09 00:38:54 +0100 |
---|---|---|
committer | Julien Cristau <jcristau@debian.org> | 2007-12-07 17:02:11 +0100 |
commit | eeb3727004327bc4d83192a7956c1835b3bd6161 (patch) | |
tree | 090b7445d0c247c4a72d964751034132b11a255c | |
parent | fa15e909933252d5cc0a2a272506effbcf21d6f9 (diff) |
Don't flush buttons on init (bug#12630)
-rw-r--r-- | src/evdev_btn.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/evdev_btn.c b/src/evdev_btn.c index c03f879..340be82 100644 --- a/src/evdev_btn.c +++ b/src/evdev_btn.c @@ -322,18 +322,6 @@ EvdevBtnInit (DeviceIntRec *device) int EvdevBtnOn (DeviceIntRec *device) { - InputInfoRec *pInfo = device->public.devicePrivate; - evdevDeviceRec *pEvdev = pInfo->private; - int i, blocked; - - if (!pEvdev->state.btn) - return Success; - - blocked = xf86BlockSIGIO (); - for (i = 1; i <= pEvdev->state.btn->buttons; i++) - xf86PostButtonEvent (device, 0, i, 0, 0, 0); - xf86UnblockSIGIO (blocked); - return Success; } |