diff options
author | N-R-K <79544946+N-R-K@users.noreply.github.com> | 2021-11-19 11:49:42 +0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-19 05:49:42 +0000 |
commit | 4a282da692fa7b8471c1399b30010de80448bda9 (patch) | |
tree | bb6b08180ee5598f5270f5e246cad1b784dbc6fa /nsxiv.h | |
parent | 8f6ba7b8689173889fc0229422f5f3bfaeea0923 (diff) |
use dedicated function to process key/button bindings (#166)
Co-authored-by: Arthur Williams <taaparthur@gmail.com>
Diffstat (limited to 'nsxiv.h')
-rw-r--r-- | nsxiv.h | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -172,17 +172,12 @@ typedef struct { typedef struct { unsigned int mask; - KeySym ksym; + KeySym ksym_or_button; cmd_t cmd; arg_t arg; } keymap_t; -typedef struct { - unsigned int mask; - unsigned int button; - cmd_t cmd; - arg_t arg; -} button_t; +typedef keymap_t button_t; /* image.c */ |