summaryrefslogtreecommitdiffstats
path: root/include/view-internal.h
diff options
context:
space:
mode:
authorQuentin Glidic <sardemff7+git@sardemff7.net>2016-04-07 15:32:22 +0200
committerQuentin Glidic <sardemff7+git@sardemff7.net>2016-05-07 11:25:04 +0200
commit54f85fabaa063bfb523f12bbfbc083c74dd83827 (patch)
treef74435f83e0916ccc19908a1b633f4e6d37651a7 /include/view-internal.h
parent65447b496adc2cc736ec83e56e4b14613496e006 (diff)
keybindings: Rework the matching
Now we check all bindings in one place, allowing for future naughty matching. Signed-off-by: Quentin Glidic <sardemff7+git@sardemff7.net>
Diffstat (limited to 'include/view-internal.h')
-rw-r--r--include/view-internal.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/view-internal.h b/include/view-internal.h
index 3d89170d..80ae7805 100644
--- a/include/view-internal.h
+++ b/include/view-internal.h
@@ -3,6 +3,7 @@
#include "widget.h"
#include "textbox.h"
#include "scrollbar.h"
+#include "keyb.h"
#include "x11-helper.h"
/**
@@ -47,7 +48,7 @@ struct RofiViewState
// Last offset in paginating.
unsigned int last_offset;
- xkb_keysym_t prev_key;
+ KeyBindingAction prev_action;
xcb_timestamp_t last_button_press;
int quit;