summaryrefslogtreecommitdiffstats
path: root/nsxiv.h
diff options
context:
space:
mode:
Diffstat (limited to 'nsxiv.h')
-rw-r--r--nsxiv.h9
1 files changed, 2 insertions, 7 deletions
diff --git a/nsxiv.h b/nsxiv.h
index e38460a..6c1f5f9 100644
--- a/nsxiv.h
+++ b/nsxiv.h
@@ -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 */