summaryrefslogtreecommitdiff
path: root/tools/interactive-x11.c
Commit message (Collapse)AuthorAgeFilesLines
* tools/interactive-x11: use keysym to look for EscSimon Ser2021-07-121-1/+1
| | | | | | | | | Don't assume that keycode 9 means Escape. Instead, use the keymap to check for Esc. Logic copied from the Wayland version. Signed-off-by: Simon Ser <contact@emersion.fr>
* tools: consistently return 2 on invalid usagePeter Hutterer2020-07-251-0/+9
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* tools: don't depend on src/utils.hRan Benita2020-06-281-0/+2
| | | | | | | The idea is to make the tools/demos as standalone as possible so that they may serve as examples as well. Signed-off-by: Ran Benita <ran@unusedvar.com>
* tools: move the remaining tools from test to herePeter Hutterer2020-06-251-0/+395
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>