Send text_input_rectangle requests for text-input

This commit is contained in:
Tadeo Kondrak 2020-12-20 15:01:21 -07:00 committed by Daniel Eklöf
parent 9411054b50
commit 8f0a3ee7a9
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
7 changed files with 143 additions and 1 deletions

View file

@ -138,6 +138,13 @@ struct button_tracker {
bool send_to_client; /* Only valid when surface is the main grid surface */
};
struct rect {
int x;
int y;
int width;
int height;
};
struct seat {
struct wayland *wayl;
struct wl_seat *wl_seat;
@ -235,6 +242,11 @@ struct seat {
/* Input Method Editor */
struct zwp_text_input_v3 *wl_text_input;
struct {
struct {
struct rect pending;
struct rect sent;
} cursor_rect;
struct {
struct {
char *text;