aboutsummaryrefslogtreecommitdiff
path: root/src/evdev.h
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@redhat.com>2008-08-14 13:38:50 +0930
committerPeter Hutterer <peter.hutterer@redhat.com>2008-08-14 13:44:11 +0930
commite8534d47c8524ac081c2e3e6ebaabe4c6b274a18 (patch)
tree7393fa841ab3b78c165e6032f3644ed577d350eb /src/evdev.h
parentFilter wheel events before middle mouse button emulation. (diff)
downloadxf86-input-evdev-e8534d47c8524ac081c2e3e6ebaabe4c6b274a18.tar.gz
xf86-input-evdev-e8534d47c8524ac081c2e3e6ebaabe4c6b274a18.tar.bz2
xf86-input-evdev-e8534d47c8524ac081c2e3e6ebaabe4c6b274a18.zip
Don't grab devices unless specified through the config options.
Grabbing event devices stops in-kernel event forwarding, most notably rfkill and the "Macintosh mouse button emulation" device. Let's not do that. Option "GrabDevice" forces grabbing the device.
Diffstat (limited to 'src/evdev.h')
-rw-r--r--src/evdev.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evdev.h b/src/evdev.h
index a0a336a..a43ddbe 100644
--- a/src/evdev.h
+++ b/src/evdev.h
@@ -50,7 +50,7 @@ typedef struct {
} WheelAxis, *WheelAxisPtr;
typedef struct {
- int kernel24;
+ int grabDevice; /* grab the event device? */
int screen;
int min_x, min_y, max_x, max_y;
int abs_x, abs_y, old_x, old_y;