diff options
author | Harry Jeffery <harry@exec64.co.uk> | 2019-08-24 23:34:39 +0100 |
---|---|---|
committer | Harry Jeffery <harry@exec64.co.uk> | 2019-08-24 23:36:51 +0100 |
commit | 1eb634953f018e45aeafde619141c635cd14502c (patch) | |
tree | bf803f3ad772b703ac136e3622f4506c547419de /src/window.h | |
parent | 9d2684a260ffd1a0b2a084ffdd7adbfcc4ceaafa (diff) | |
download | imv-1eb634953f018e45aeafde619141c635cd14502c.tar.gz |
imv: Move keyboard handling into window subsystem
This is required as key repeating is going to need to be handled
locally on Wayland, which means a slight refactor.
Diffstat (limited to 'src/window.h')
-rw-r--r-- | src/window.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/window.h b/src/window.h index eff00ab..6c692cc 100644 --- a/src/window.h +++ b/src/window.h @@ -27,14 +27,11 @@ struct imv_event { } resize; struct { int scancode; - bool pressed; + char *keyname; + char *description; + char *text; } keyboard; struct { - int depressed; - int latched; - int locked; - } keyboard_mods; - struct { double x, y, dx, dy; } mouse_motion; struct { |