diff options
| author | Tadeo Kondrak <me@tadeo.ca> | 2020-12-20 22:01:21 +0000 |
|---|---|---|
| committer | Tadeo Kondrak <me@tadeo.ca> | 2021-01-29 05:22:01 +0000 |
| commit | 95c0c89cac5cef4ea73a1391b8ecd20f5dcfb2ff (patch) | |
| tree | a8a92980854f4fdf84cc2892605c9bc4513da1c8 /wayland.h | |
| parent | Merge branch 'delay-tiocswinsz-on-interactive-resize' (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
@@ -139,6 +139,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; @@ -237,6 +244,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; |
