diff options
| author | Tadeo Kondrak <me@tadeo.ca> | 2020-12-20 22:01:21 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2021-01-29 18:39:48 +0000 |
| commit | 8f0a3ee7a9cbb1b0fc8011875a0895bfd331e0a8 (patch) | |
| tree | a08d343da9f4fa606c4708f751dbb98a4a9d8f7f /wayland.h | |
| parent | ci: freebsd: don’t need -Wno-missing-braces anymore (diff) | |
Send text_input_rectangle requests for text-input
Diffstat (limited to 'wayland.h')
| -rw-r--r-- | wayland.h | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -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; @@ -236,6 +243,11 @@ struct seat { struct zwp_text_input_v3 *wl_text_input; struct { struct { + struct rect pending; + struct rect sent; + } cursor_rect; + + struct { struct { char *text; int32_t cursor_begin; |
