summaryrefslogtreecommitdiff
path: root/src/keyboard.h
diff options
context:
space:
mode:
authorAlbert Cervin <albert@acervin.com>2023-01-15 23:07:37 +0100
committerAlbert Cervin <albert@acervin.com>2023-01-15 23:07:37 +0100
commit385c9d62a5507d901ff7e54d7a4c0342cf3aff43 (patch)
tree53e53ee0075e34ef59aeeeb554a69580af1e2d1c /src/keyboard.h
parentd806403fe93daa2fb84e2c72aa7660575c33000e (diff)
downloaddged-385c9d62a5507d901ff7e54d7a4c0342cf3aff43.tar.gz
dged-385c9d62a5507d901ff7e54d7a4c0342cf3aff43.tar.xz
dged-385c9d62a5507d901ff7e54d7a4c0342cf3aff43.zip
Lots of fixes for rendering, utf-8 and kbd.
Diffstat (limited to 'src/keyboard.h')
-rw-r--r--src/keyboard.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/keyboard.h b/src/keyboard.h
index b7f1940..72c61d5 100644
--- a/src/keyboard.h
+++ b/src/keyboard.h
@@ -5,6 +5,7 @@
enum modifiers {
Ctrl = 1 << 0,
Meta = 1 << 1,
+ Spec = 1 << 2,
};
struct key {
@@ -17,7 +18,6 @@ struct key {
struct keyboard {
uint32_t reactor_event_id;
bool has_data;
- struct key last_key;
};
struct keyboard_update {