From 8f0a3ee7a9cbb1b0fc8011875a0895bfd331e0a8 Mon Sep 17 00:00:00 2001 From: Tadeo Kondrak Date: Sun, 20 Dec 2020 15:01:21 -0700 Subject: Send text_input_rectangle requests for text-input --- wayland.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'wayland.h') diff --git a/wayland.h b/wayland.h index 93244353..bdfe4e23 100644 --- a/wayland.h +++ b/wayland.h @@ -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; -- cgit v1.3