From: Orestis Floros Date: Mon, 1 Oct 2018 22:52:31 +0000 (+0300) Subject: floating_resize: Use uint32_t X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f397698d43e3dd4f4625e1fed1b1d0470d0acdf6;p=i3%2Fi3 floating_resize: Use uint32_t --- diff --git a/include/floating.h b/include/floating.h index 4382437b..368183bc 100644 --- a/include/floating.h +++ b/include/floating.h @@ -152,7 +152,7 @@ bool floating_reposition(Con *con, Rect newrect); * window's size hints. * */ -void floating_resize(Con *floating_con, int x, int y); +void floating_resize(Con *floating_con, uint32_t x, uint32_t y); /** * Fixes the coordinates of the floating window whenever the window gets diff --git a/src/floating.c b/src/floating.c index c9600eac..0c7b43b2 100644 --- a/src/floating.c +++ b/src/floating.c @@ -921,7 +921,7 @@ bool floating_reposition(Con *con, Rect newrect) { * window's size hints. * */ -void floating_resize(Con *floating_con, int x, int y) { +void floating_resize(Con *floating_con, uint32_t x, uint32_t y) { DLOG("floating resize to %dx%d px\n", x, y); Rect *rect = &floating_con->rect; Con *focused_con = con_descend_focused(floating_con);