diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2015-06-24 15:12:54 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2015-06-24 15:19:33 +1000 |
commit | f74769e77e2e51b568cf2061e7703eec1405f06d (patch) | |
tree | ce76eacc6ecfefdfb04af492e7444f5f48092759 /tools/shared.h | |
parent | b7c414558d4d9520b3d935be9e6ad3c7f045639e (diff) | |
download | libinput-f74769e77e2e51b568cf2061e7703eec1405f06d.tar.gz |
tools: add --grab option
Issues an EVIOCGRAB on the openend devices, providing exclusive access. Makes
it easier for debugging, so moving the pointer doesn't accidentally trigger
other stuff.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'tools/shared.h')
-rw-r--r-- | tools/shared.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/shared.h b/tools/shared.h index 442d7cd3..a848e2d1 100644 --- a/tools/shared.h +++ b/tools/shared.h @@ -35,6 +35,7 @@ struct tools_options { enum tools_backend backend; const char *device; /* if backend is BACKEND_DEVICE */ const char *seat; /* if backend is BACKEND_UDEV */ + int grab; /* EVIOCGRAB */ int verbose; int tapping; |