mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-11-07 13:29:55 -05:00
Snap terminal size to an integer number of character cells.
This commit is contained in:
parent
17809b1e43
commit
1584c57edc
4 changed files with 34 additions and 6 deletions
2
window.h
2
window.h
|
|
@ -32,7 +32,7 @@ struct rectangle {
|
|||
int32_t height;
|
||||
};
|
||||
|
||||
typedef void (*window_resize_handler_t)(struct window *window, int32_t width, int32_t height, void *data);
|
||||
typedef void (*window_resize_handler_t)(struct window *window, struct rectangle *rectangle, void *data);
|
||||
typedef void (*window_frame_handler_t)(struct window *window, uint32_t frame, uint32_t timestamp, void *data);
|
||||
typedef void (*window_acknowledge_handler_t)(struct window *window, uint32_t key, void *data);
|
||||
typedef void (*window_key_handler_t)(struct window *window, uint32_t key, uint32_t state, void *data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue