mirror of
https://github.com/brl/mutter.git
synced 2024-11-29 19:40:43 -05:00
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);
|
||||
}
|
||||
|
||||
void
|
||||
meta_wayland_seat_update_cursor_surface (MetaWaylandSeat *seat)
|
||||
{
|
||||
meta_wayland_pointer_update_cursor_surface (&seat->pointer);
|
||||
}
|
||||
|
||||
static void
|
||||
pointer_set_cursor (struct wl_client *client,
|
||||
struct wl_resource *resource,
|
||||
@ -83,7 +77,7 @@ pointer_set_cursor (struct wl_client *client,
|
||||
seat->pointer.hotspot_x = x;
|
||||
seat->pointer.hotspot_y = y;
|
||||
set_cursor_surface (seat, surface);
|
||||
meta_wayland_seat_update_cursor_surface (seat);
|
||||
meta_wayland_pointer_update_cursor_surface (&seat->pointer);
|
||||
}
|
||||
|
||||
static void
|
||||
@ -458,3 +452,9 @@ meta_wayland_seat_repick (MetaWaylandSeat *seat,
|
||||
|
||||
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