mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
view: view_move() s/double/int/ for x and y
This commit is contained in:
parent
46fb3c3dec
commit
52d1e32b59
4 changed files with 6 additions and 6 deletions
|
|
@ -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);
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue