diff options
author | Ran Benita <ran@unusedvar.com> | 2020-07-27 11:57:24 +0300 |
---|---|---|
committer | Ran Benita <ran@unusedvar.com> | 2020-07-27 11:59:21 +0300 |
commit | fcc6b28f5fdf582b48124fbd9190e78fab496839 (patch) | |
tree | 93c493cc60dba27130e26cbcec3c50c139f6163f | |
parent | 64bff65a6a548a36f8316a789660ffeab2a261b0 (diff) | |
download | xorg-lib-libxkbcommon-fcc6b28f5fdf582b48124fbd9190e78fab496839.tar.gz |
tools/interactive-evdev: fixup 64bff65
Signed-off-by: Ran Benita <ran@unusedvar.com>
-rwxr-xr-x | test/tool-option-parsing.py | 1 | ||||
-rw-r--r-- | tools/interactive-evdev.c | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/test/tool-option-parsing.py b/test/tool-option-parsing.py index 98c75a7..df4ff77 100755 --- a/test/tool-option-parsing.py +++ b/test/tool-option-parsing.py @@ -278,6 +278,7 @@ def test_interactive_evdev_rmlvo(xkbcli_interactive_evdev, rmlvos): ['--enable-compose'], ['--consumed-mode=xkb'], ['--consumed-mode=gtk'], + ['--without-x11-offset'], ]) def test_interactive_evdev(xkbcli_interactive_evdev, args): # Note: --enable-compose fails if $prefix doesn't have the compose tables diff --git a/tools/interactive-evdev.c b/tools/interactive-evdev.c index 8c14bd3..9c8c94e 100644 --- a/tools/interactive-evdev.c +++ b/tools/interactive-evdev.c @@ -421,10 +421,10 @@ main(int argc, char *argv[]) {"variant", required_argument, 0, OPT_VARIANT}, {"options", required_argument, 0, OPT_OPTION}, {"keymap", required_argument, 0, OPT_KEYMAP}, - {"without-x11-offset", required_argument, 0, OPT_WITHOUT_X11_OFFSET}, {"consumed-mode", required_argument, 0, OPT_CONSUMED_MODE}, {"enable-compose", no_argument, 0, OPT_COMPOSE}, {"report-state-changes", no_argument, 0, OPT_REPORT_STATE}, + {"without-x11-offset", no_argument, 0, OPT_WITHOUT_X11_OFFSET}, {0, 0, 0, 0}, }; |