mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-14 06:10:21 +00:00
Implement event_data_{copy,free} for quartz
This commit is contained in:
parent
4b92625fe0
commit
b2ff02332f
@ -250,4 +250,7 @@ _gdk_display_quartz_class_init (GdkDisplayQuartz *class)
|
||||
display_class->supports_cursor_color = _gdk_quartz_display_supports_cursor_color;
|
||||
display_class->get_next_serial = gdk_quartz_display_get_next_serial;
|
||||
display_class->notify_startup_complete = _gdk_quartz_display_notify_startup_complete;
|
||||
display_class->event_data_copy = _gdk_quartz_display_event_data_copy;
|
||||
display_class->event_data_free = _gdk_quartz_display_event_data_free;
|
||||
|
||||
}
|
||||
|
@ -1438,8 +1438,9 @@ _gdk_quartz_screen_get_setting (GdkScreen *screen,
|
||||
}
|
||||
|
||||
void
|
||||
_gdk_windowing_event_data_copy (const GdkEvent *src,
|
||||
GdkEvent *dst)
|
||||
_gdk_quartz_display_event_data_copy (GdkDisplay *display,
|
||||
const GdkEvent *src,
|
||||
GdkEvent *dst)
|
||||
{
|
||||
GdkEventPrivate *priv_src = (GdkEventPrivate *) src;
|
||||
GdkEventPrivate *priv_dst = (GdkEventPrivate *) dst;
|
||||
@ -1452,7 +1453,8 @@ _gdk_windowing_event_data_copy (const GdkEvent *src,
|
||||
}
|
||||
|
||||
void
|
||||
_gdk_windowing_event_data_free (GdkEvent *event)
|
||||
_gdk_quartz_display_event_data_free (GdkDisplay *display,
|
||||
GdkEvent *event)
|
||||
{
|
||||
GdkEventPrivate *priv = (GdkEventPrivate *) event;
|
||||
|
||||
|
@ -175,6 +175,11 @@ void _gdk_quartz_display_before_process_all_updates (GdkDisplay *display);
|
||||
void _gdk_quartz_display_after_process_all_updates (GdkDisplay *display);
|
||||
void _gdk_quartz_display_notify_startup_complete (GdkDisplay *display,
|
||||
const gchar *id);
|
||||
void _gdk_quartz_display_event_data_copy (GdkDisplay *display,
|
||||
const GdkEvent *src,
|
||||
GdkEvent *dst);
|
||||
void _gdk_quartz_display_event_data_free (GdkDisplay *display,
|
||||
GdkEvent *event);
|
||||
|
||||
|
||||
GdkDisplay * _gdk_quartz_display_open (const gchar *name);
|
||||
|
Loading…
Reference in New Issue
Block a user