floating_resize: Use uint32_t

This commit is contained in:
Orestis Floros 2018-10-02 01:52:31 +03:00
parent 01960f956f
commit f397698d43
No known key found for this signature in database
GPG Key ID: E9AD9F32E401E38F
2 changed files with 2 additions and 2 deletions

View File

@ -152,7 +152,7 @@ bool floating_reposition(Con *con, Rect newrect);
* window's size hints. * 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 * Fixes the coordinates of the floating window whenever the window gets

View File

@ -921,7 +921,7 @@ bool floating_reposition(Con *con, Rect newrect) {
* window's size hints. * 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); DLOG("floating resize to %dx%d px\n", x, y);
Rect *rect = &floating_con->rect; Rect *rect = &floating_con->rect;
Con *focused_con = con_descend_focused(floating_con); Con *focused_con = con_descend_focused(floating_con);