Enable Wayland's virtual-keyboard protocol
This commit includes a little restructuring necessary for keeping wayland objects properly. It doesn't fix broken modifier functionality yet.
This commit is contained in:
@ -7,26 +7,12 @@
|
||||
|
||||
#include "eek/eek.h"
|
||||
|
||||
typedef struct {
|
||||
gint group;
|
||||
} EekboardContext;
|
||||
|
||||
typedef struct {
|
||||
EekboardContext *context;
|
||||
XkbDescRec *xkb;
|
||||
guint modifier_keycodes[8];
|
||||
} Client;
|
||||
#include "virtual-keyboard-unstable-v1-client-protocol.h"
|
||||
|
||||
void
|
||||
emit_key_activated (EekboardContext *context,
|
||||
emit_key_activated (EekboardContextService *manager, EekKeyboard *keyboard,
|
||||
guint keycode,
|
||||
EekSymbol *symbol,
|
||||
guint modifiers,
|
||||
Client *client, gboolean pressed, uint32_t timestamp);
|
||||
|
||||
gboolean
|
||||
client_enable_xtest (Client *client);
|
||||
|
||||
void
|
||||
client_disable_xtest (Client *client);
|
||||
gboolean pressed, uint32_t timestamp);
|
||||
#endif // KEYEMITTER_H
|
||||
|
||||
Reference in New Issue
Block a user