mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-03-21 05:33:45 -04:00
Send text_input_rectangle requests for text-input
This commit is contained in:
parent
c1675af103
commit
95c0c89cac
7 changed files with 143 additions and 2 deletions
12
wayland.h
12
wayland.h
|
|
@ -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;
|
||||
|
|
@ -236,6 +243,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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue