view: view_move() s/double/int/ for x and y

This commit is contained in:
Johan Malm 2022-08-17 21:41:49 +01:00 committed by Johan Malm
parent 46fb3c3dec
commit 52d1e32b59
4 changed files with 6 additions and 6 deletions

View file

@ -119,7 +119,7 @@ view_close(struct view *view)
}
void
view_move(struct view *view, double x, double y)
view_move(struct view *view, int x, int y)
{
if (view->impl->move) {
view->impl->move(view, x, y);

View file

@ -186,7 +186,7 @@ xdg_toplevel_view_configure(struct view *view, struct wlr_box geo)
}
static void
xdg_toplevel_view_move(struct view *view, double x, double y)
xdg_toplevel_view_move(struct view *view, int x, int y)
{
view->x = x;
view->y = y;

View file

@ -204,7 +204,7 @@ handle_set_class(struct wl_listener *listener, void *data)
}
static void
move(struct view *view, double x, double y)
move(struct view *view, int x, int y)
{
assert(view->xwayland_surface);