diff options
author | Ulrich Sibiller <uli42@gmx.de> | 2020-01-18 18:20:00 +0100 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2020-05-07 14:57:15 +0200 |
commit | afceb7ebaed13dd680a1acfb8354b736a1fd2cc3 (patch) | |
tree | b9991ad80c428cde0dcbfa075bed3af13c1e1afc /nx-X11/programs/Xserver/hw/nxagent/Keystroke.h | |
parent | b7169bdcaf320e219dec23e79882176bc4b69d4c (diff) | |
download | nx-libs-afceb7ebaed13dd680a1acfb8354b736a1fd2cc3.tar.gz nx-libs-afceb7ebaed13dd680a1acfb8354b736a1fd2cc3.tar.bz2 nx-libs-afceb7ebaed13dd680a1acfb8354b736a1fd2cc3.zip |
Dialog.c: show configured keystrokes in dialogs
Instead of hardcoding the keystrokes in Dialog.h determine the
currently configured keystrokes for the action and insert them into
the dialog strings.
Fixes ArcticaProject/nx-libs#438
Diffstat (limited to 'nx-X11/programs/Xserver/hw/nxagent/Keystroke.h')
-rw-r--r-- | nx-X11/programs/Xserver/hw/nxagent/Keystroke.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nx-X11/programs/Xserver/hw/nxagent/Keystroke.h b/nx-X11/programs/Xserver/hw/nxagent/Keystroke.h index 9d7c4c4d5..463bda9b3 100644 --- a/nx-X11/programs/Xserver/hw/nxagent/Keystroke.h +++ b/nx-X11/programs/Xserver/hw/nxagent/Keystroke.h @@ -32,6 +32,9 @@ extern Bool nxagentCheckSpecialKeystroke(XKeyEvent*, enum HandleEventResult*); extern void nxagentDumpKeystrokes(void); extern void nxagentInitKeystrokes(Bool force); +char *nxagentFindFirstKeystroke(char *name); +char *nxagentFindMatchingKeystrokes(char *name); + /* keep this sorted, do not rely on any numerical value in this enum, and be aware * that KEYSTROKE_MAX may be used in a malloc */ |