mirror of
https://github.com/brl/mutter.git
synced 2024-11-29 19:40:43 -05:00
wayland: Cleanup MetaWaylandPointer header
Drop some functions that are no longer used outside of MetaWaylandPointer, after interactions between components were reduced. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3420>
This commit is contained in:
parent
ec435ea540
commit
b09374735b
@ -91,6 +91,9 @@ static void
|
|||||||
meta_wayland_pointer_set_current (MetaWaylandPointer *pointer,
|
meta_wayland_pointer_set_current (MetaWaylandPointer *pointer,
|
||||||
MetaWaylandSurface *surface);
|
MetaWaylandSurface *surface);
|
||||||
|
|
||||||
|
static void meta_wayland_pointer_set_focus (MetaWaylandPointer *pointer,
|
||||||
|
MetaWaylandSurface *surface);
|
||||||
|
|
||||||
static MetaBackend *
|
static MetaBackend *
|
||||||
backend_from_pointer (MetaWaylandPointer *pointer)
|
backend_from_pointer (MetaWaylandPointer *pointer)
|
||||||
{
|
{
|
||||||
@ -378,7 +381,7 @@ meta_wayland_pointer_send_relative_motion (MetaWaylandPointer *pointer,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
meta_wayland_pointer_send_motion (MetaWaylandPointer *pointer,
|
meta_wayland_pointer_send_motion (MetaWaylandPointer *pointer,
|
||||||
const ClutterEvent *event)
|
const ClutterEvent *event)
|
||||||
{
|
{
|
||||||
@ -406,7 +409,7 @@ meta_wayland_pointer_send_motion (MetaWaylandPointer *pointer,
|
|||||||
meta_wayland_pointer_broadcast_frame (pointer);
|
meta_wayland_pointer_broadcast_frame (pointer);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
meta_wayland_pointer_send_button (MetaWaylandPointer *pointer,
|
meta_wayland_pointer_send_button (MetaWaylandPointer *pointer,
|
||||||
const ClutterEvent *event)
|
const ClutterEvent *event)
|
||||||
{
|
{
|
||||||
@ -945,7 +948,7 @@ focus_surface_alive_notify (MetaWindow *window,
|
|||||||
sync_focus_surface (pointer);
|
sync_focus_surface (pointer);
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
static void
|
||||||
meta_wayland_pointer_set_focus (MetaWaylandPointer *pointer,
|
meta_wayland_pointer_set_focus (MetaWaylandPointer *pointer,
|
||||||
MetaWaylandSurface *surface)
|
MetaWaylandSurface *surface)
|
||||||
{
|
{
|
||||||
|
@ -84,20 +84,11 @@ void meta_wayland_pointer_update (MetaWaylandPointer *pointer,
|
|||||||
gboolean meta_wayland_pointer_handle_event (MetaWaylandPointer *pointer,
|
gboolean meta_wayland_pointer_handle_event (MetaWaylandPointer *pointer,
|
||||||
const ClutterEvent *event);
|
const ClutterEvent *event);
|
||||||
|
|
||||||
void meta_wayland_pointer_send_motion (MetaWaylandPointer *pointer,
|
|
||||||
const ClutterEvent *event);
|
|
||||||
|
|
||||||
void meta_wayland_pointer_send_relative_motion (MetaWaylandPointer *pointer,
|
void meta_wayland_pointer_send_relative_motion (MetaWaylandPointer *pointer,
|
||||||
const ClutterEvent *event);
|
const ClutterEvent *event);
|
||||||
|
|
||||||
void meta_wayland_pointer_send_button (MetaWaylandPointer *pointer,
|
|
||||||
const ClutterEvent *event);
|
|
||||||
|
|
||||||
void meta_wayland_pointer_broadcast_frame (MetaWaylandPointer *pointer);
|
void meta_wayland_pointer_broadcast_frame (MetaWaylandPointer *pointer);
|
||||||
|
|
||||||
void meta_wayland_pointer_set_focus (MetaWaylandPointer *pointer,
|
|
||||||
MetaWaylandSurface *surface);
|
|
||||||
|
|
||||||
void meta_wayland_pointer_get_relative_coordinates (MetaWaylandPointer *pointer,
|
void meta_wayland_pointer_get_relative_coordinates (MetaWaylandPointer *pointer,
|
||||||
MetaWaylandSurface *surface,
|
MetaWaylandSurface *surface,
|
||||||
wl_fixed_t *x,
|
wl_fixed_t *x,
|
||||||
@ -123,8 +114,6 @@ void meta_wayland_relative_pointer_init (MetaWaylandCompositor *compositor);
|
|||||||
|
|
||||||
MetaWaylandSeat *meta_wayland_pointer_get_seat (MetaWaylandPointer *pointer);
|
MetaWaylandSeat *meta_wayland_pointer_get_seat (MetaWaylandPointer *pointer);
|
||||||
|
|
||||||
void meta_wayland_surface_cursor_update (MetaWaylandSurface *cursor_surface);
|
|
||||||
|
|
||||||
void meta_wayland_pointer_update_cursor_surface (MetaWaylandPointer *pointer);
|
void meta_wayland_pointer_update_cursor_surface (MetaWaylandPointer *pointer);
|
||||||
|
|
||||||
MetaWaylandSurface * meta_wayland_pointer_get_current_surface (MetaWaylandPointer *pointer);
|
MetaWaylandSurface * meta_wayland_pointer_get_current_surface (MetaWaylandPointer *pointer);
|
||||||
|
Loading…
Reference in New Issue
Block a user