Snap terminal size to an integer number of character cells.

This commit is contained in:
Kristian Høgsberg 2008-12-08 12:59:37 -05:00
parent 17809b1e43
commit 1584c57edc
4 changed files with 34 additions and 6 deletions

View file

@ -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;