From fcc6b28f5fdf582b48124fbd9190e78fab496839 Mon Sep 17 00:00:00 2001 From: Ran Benita Date: Mon, 27 Jul 2020 11:57:24 +0300 Subject: [PATCH] tools/interactive-evdev: fixup 64bff65 Signed-off-by: Ran Benita --- test/tool-option-parsing.py | 1 + tools/interactive-evdev.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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}, }; -- 2.7.4