mirror of
https://github.com/brl/mutter.git
synced 2025-01-10 11:42:49 +00:00
wayland: Make MetaWaylandPointer struct definition private
Move it outside the header and into private code. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3627>
This commit is contained in:
parent
f53adae278
commit
bff8269a3e
@ -84,6 +84,35 @@ enum
|
|||||||
|
|
||||||
static guint signals[LAST_SIGNAL];
|
static guint signals[LAST_SIGNAL];
|
||||||
|
|
||||||
|
struct _MetaWaylandPointer
|
||||||
|
{
|
||||||
|
MetaWaylandInputDevice parent;
|
||||||
|
|
||||||
|
MetaWaylandPointerClient *focus_client;
|
||||||
|
GHashTable *pointer_clients;
|
||||||
|
|
||||||
|
MetaWaylandSurface *focus_surface;
|
||||||
|
gulong focus_surface_destroyed_handler_id;
|
||||||
|
gulong focus_surface_alive_notify_id;
|
||||||
|
guint32 focus_serial;
|
||||||
|
guint32 click_serial;
|
||||||
|
|
||||||
|
MetaWaylandSurface *cursor_surface;
|
||||||
|
gulong cursor_surface_destroy_id;
|
||||||
|
|
||||||
|
guint32 grab_button;
|
||||||
|
guint32 grab_serial;
|
||||||
|
guint32 grab_time;
|
||||||
|
float grab_x, grab_y;
|
||||||
|
float last_rel_x, last_rel_y;
|
||||||
|
|
||||||
|
ClutterInputDevice *device;
|
||||||
|
MetaWaylandSurface *current;
|
||||||
|
gulong current_surface_destroyed_handler_id;
|
||||||
|
|
||||||
|
guint32 button_count;
|
||||||
|
};
|
||||||
|
|
||||||
G_DEFINE_TYPE (MetaWaylandPointer, meta_wayland_pointer,
|
G_DEFINE_TYPE (MetaWaylandPointer, meta_wayland_pointer,
|
||||||
META_TYPE_WAYLAND_INPUT_DEVICE)
|
META_TYPE_WAYLAND_INPUT_DEVICE)
|
||||||
|
|
||||||
|
@ -46,35 +46,6 @@ struct _MetaWaylandPointerClient
|
|||||||
ClutterEventType active_touchpad_gesture;
|
ClutterEventType active_touchpad_gesture;
|
||||||
};
|
};
|
||||||
|
|
||||||
struct _MetaWaylandPointer
|
|
||||||
{
|
|
||||||
MetaWaylandInputDevice parent;
|
|
||||||
|
|
||||||
MetaWaylandPointerClient *focus_client;
|
|
||||||
GHashTable *pointer_clients;
|
|
||||||
|
|
||||||
MetaWaylandSurface *focus_surface;
|
|
||||||
gulong focus_surface_destroyed_handler_id;
|
|
||||||
gulong focus_surface_alive_notify_id;
|
|
||||||
guint32 focus_serial;
|
|
||||||
guint32 click_serial;
|
|
||||||
|
|
||||||
MetaWaylandSurface *cursor_surface;
|
|
||||||
gulong cursor_surface_destroy_id;
|
|
||||||
|
|
||||||
guint32 grab_button;
|
|
||||||
guint32 grab_serial;
|
|
||||||
guint32 grab_time;
|
|
||||||
float grab_x, grab_y;
|
|
||||||
float last_rel_x, last_rel_y;
|
|
||||||
|
|
||||||
ClutterInputDevice *device;
|
|
||||||
MetaWaylandSurface *current;
|
|
||||||
gulong current_surface_destroyed_handler_id;
|
|
||||||
|
|
||||||
guint32 button_count;
|
|
||||||
};
|
|
||||||
|
|
||||||
void meta_wayland_pointer_enable (MetaWaylandPointer *pointer);
|
void meta_wayland_pointer_enable (MetaWaylandPointer *pointer);
|
||||||
|
|
||||||
void meta_wayland_pointer_disable (MetaWaylandPointer *pointer);
|
void meta_wayland_pointer_disable (MetaWaylandPointer *pointer);
|
||||||
|
Loading…
Reference in New Issue
Block a user