seat: Move update_cursor_surface to the end
It's now only a public API.
This commit is contained in:
parent
4510b82361
commit
15d89d451f
@ -55,12 +55,6 @@ set_cursor_surface (MetaWaylandSeat *seat,
|
|||||||
meta_wayland_pointer_set_cursor_surface (&seat->pointer, surface);
|
meta_wayland_pointer_set_cursor_surface (&seat->pointer, surface);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
meta_wayland_seat_update_cursor_surface (MetaWaylandSeat *seat)
|
|
||||||
{
|
|
||||||
meta_wayland_pointer_update_cursor_surface (&seat->pointer);
|
|
||||||
}
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
pointer_set_cursor (struct wl_client *client,
|
pointer_set_cursor (struct wl_client *client,
|
||||||
struct wl_resource *resource,
|
struct wl_resource *resource,
|
||||||
@ -83,7 +77,7 @@ pointer_set_cursor (struct wl_client *client,
|
|||||||
seat->pointer.hotspot_x = x;
|
seat->pointer.hotspot_x = x;
|
||||||
seat->pointer.hotspot_y = y;
|
seat->pointer.hotspot_y = y;
|
||||||
set_cursor_surface (seat, surface);
|
set_cursor_surface (seat, surface);
|
||||||
meta_wayland_seat_update_cursor_surface (seat);
|
meta_wayland_pointer_update_cursor_surface (&seat->pointer);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
@ -458,3 +452,9 @@ meta_wayland_seat_repick (MetaWaylandSeat *seat,
|
|||||||
|
|
||||||
meta_wayland_pointer_update_current_focus (pointer, surface);
|
meta_wayland_pointer_update_current_focus (pointer, surface);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void
|
||||||
|
meta_wayland_seat_update_cursor_surface (MetaWaylandSeat *seat)
|
||||||
|
{
|
||||||
|
meta_wayland_pointer_update_cursor_surface (&seat->pointer);
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user