tools/interactive-evdev: fixup 64bff65
authorRan Benita <ran@unusedvar.com>
Mon, 27 Jul 2020 08:57:24 +0000 (11:57 +0300)
committerRan Benita <ran@unusedvar.com>
Mon, 27 Jul 2020 08:59:21 +0000 (11:59 +0300)
Signed-off-by: Ran Benita <ran@unusedvar.com>
test/tool-option-parsing.py
tools/interactive-evdev.c

index 98c75a7..df4ff77 100755 (executable)
@@ -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
index 8c14bd3..9c8c94e 100644 (file)
@@ -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},
     };