input method: Initialize the protocol and pretend to handle a few things

This commit is contained in:
Dorota Czaplejewicz
2019-06-30 11:37:01 +00:00
parent 511b2f7186
commit 0d3b003aac
11 changed files with 613 additions and 1 deletions

View File

@ -3,6 +3,7 @@
#include "wlr-layer-shell-unstable-v1-client-protocol.h"
#include "virtual-keyboard-unstable-v1-client-protocol.h"
#include "input-method-unstable-v2-client-protocol.h"
#include <gmodule.h>
@ -10,6 +11,7 @@
struct squeek_wayland {
struct zwlr_layer_shell_v1 *layer_shell;
struct zwp_virtual_keyboard_manager_v1 *virtual_keyboard_manager;
struct zwp_input_method_manager_v2 *input_method_manager;
GPtrArray *outputs; // *wl_output
struct wl_seat *seat;
};