mirror of
https://github.com/brl/mutter.git
synced 2024-12-24 20:12:06 +00:00
seat: Reorder
This commit is contained in:
parent
30ecd7c770
commit
1be97f3d59
@ -255,6 +255,17 @@ meta_wayland_seat_new (struct wl_display *display)
|
||||
return seat;
|
||||
}
|
||||
|
||||
void
|
||||
meta_wayland_seat_free (MetaWaylandSeat *seat)
|
||||
{
|
||||
set_cursor_surface (seat, NULL);
|
||||
|
||||
meta_wayland_pointer_release (&seat->pointer);
|
||||
meta_wayland_keyboard_release (&seat->keyboard);
|
||||
|
||||
g_slice_free (MetaWaylandSeat, seat);
|
||||
}
|
||||
|
||||
static void
|
||||
notify_motion (MetaWaylandSeat *seat,
|
||||
const ClutterEvent *event)
|
||||
@ -493,14 +504,3 @@ meta_wayland_seat_repick (MetaWaylandSeat *seat,
|
||||
|
||||
meta_wayland_pointer_update_current_focus (pointer, surface);
|
||||
}
|
||||
|
||||
void
|
||||
meta_wayland_seat_free (MetaWaylandSeat *seat)
|
||||
{
|
||||
set_cursor_surface (seat, NULL);
|
||||
|
||||
meta_wayland_pointer_release (&seat->pointer);
|
||||
meta_wayland_keyboard_release (&seat->keyboard);
|
||||
|
||||
g_slice_free (MetaWaylandSeat, seat);
|
||||
}
|
||||
|
@ -70,6 +70,9 @@ struct _MetaWaylandSeat
|
||||
MetaWaylandSeat *
|
||||
meta_wayland_seat_new (struct wl_display *display);
|
||||
|
||||
void
|
||||
meta_wayland_seat_free (MetaWaylandSeat *seat);
|
||||
|
||||
void
|
||||
meta_wayland_seat_update (MetaWaylandSeat *seat,
|
||||
const ClutterEvent *event);
|
||||
@ -85,7 +88,4 @@ meta_wayland_seat_repick (MetaWaylandSeat *seat,
|
||||
void
|
||||
meta_wayland_seat_update_cursor_surface (MetaWaylandSeat *seat);
|
||||
|
||||
void
|
||||
meta_wayland_seat_free (MetaWaylandSeat *seat);
|
||||
|
||||
#endif /* __META_WAYLAND_SEAT_H__ */
|
||||
|
Loading…
Reference in New Issue
Block a user