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
gears.c
2
gears.c
|
|
@ -269,7 +269,7 @@ resize_window(struct gears *gears)
|
|||
}
|
||||
|
||||
static void
|
||||
resize_handler(struct window *window, int32_t width, int32_t height, void *data)
|
||||
resize_handler(struct window *window, struct rectangle *rectangle, void *data)
|
||||
{
|
||||
struct gears *gears = data;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue