From f397698d43e3dd4f4625e1fed1b1d0470d0acdf6 Mon Sep 17 00:00:00 2001 From: Orestis Floros Date: Tue, 2 Oct 2018 01:52:31 +0300 Subject: [PATCH] floating_resize: Use uint32_t --- include/floating.h | 2 +- src/floating.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); -- 2.39.5