diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2010-07-22 10:51:12 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2010-07-22 10:57:34 +1000 |
commit | d2c11d36a05e18936e39f7aa592c15b254aff1de (patch) | |
tree | 1705c5a682b89b3f7ef93842206f49561df948cb | |
parent | 2f636402d882c775497e88c1f74477c4f6e9521d (diff) |
Use pInfo->options instead of dev->commonOptions.
No real change, preparation for new input API.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r-- | src/evdev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evdev.c b/src/evdev.c index adda180..bcc72bd 100644 --- a/src/evdev.c +++ b/src/evdev.c @@ -2083,7 +2083,7 @@ EvdevPreInit(InputDriverPtr drv, IDevPtr dev, int flags) /* Grabbing the event device stops in-kernel event forwarding. In other words, it disables rfkill and the "Macintosh mouse button emulation". Note that this needs a server that sets the console to RAW mode. */ - pEvdev->grabDevice = xf86CheckBoolOption(dev->commonOptions, "GrabDevice", 0); + pEvdev->grabDevice = xf86CheckBoolOption(pInfo->options, "GrabDevice", 0); /* If grabDevice is set, ungrab immediately since we only want to grab * between DEVICE_ON and DEVICE_OFF. If we never get DEVICE_ON, don't |