summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtest/tool-option-parsing.py1
-rw-r--r--tools/interactive-evdev.c2
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},
};