Implement create_window_impl vfunc for quartz

This commit is contained in:
Matthias Clasen 2010-12-17 12:34:40 -05:00 committed by Kristian Rietveld
parent 57efe15bda
commit 46352afa6f
3 changed files with 16 additions and 7 deletions

View File

@ -252,5 +252,5 @@ _gdk_display_quartz_class_init (GdkDisplayQuartz *class)
display_class->notify_startup_complete = _gdk_quartz_display_notify_startup_complete; 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_copy = _gdk_quartz_display_event_data_copy;
display_class->event_data_free = _gdk_quartz_display_event_data_free; display_class->event_data_free = _gdk_quartz_display_event_data_free;
display_class->create_window_impl = _gdk_quartz_display_create_window_impl;
} }

View File

@ -180,6 +180,14 @@ void _gdk_quartz_display_event_data_copy (GdkDisplay *display,
GdkEvent *dst); GdkEvent *dst);
void _gdk_quartz_display_event_data_free (GdkDisplay *display, void _gdk_quartz_display_event_data_free (GdkDisplay *display,
GdkEvent *event); GdkEvent *event);
void _gdk_quartz_display_create_window_impl (GdkDisplay *display,
GdkWindow *window,
GdkWindow *real_parent,
GdkScreen *screen,
GdkEventMask event_mask,
GdkWindowAttr *attributes,
gint attributes_mask);
GdkDisplay * _gdk_quartz_display_open (const gchar *name); GdkDisplay * _gdk_quartz_display_open (const gchar *name);

View File

@ -843,12 +843,13 @@ get_nsscreen_for_point (gint x, gint y)
} }
void void
_gdk_window_impl_new (GdkWindow *window, _gdk_x11_display_create_window_imp (GdkDisplay *display,
GdkWindow *real_parent, GdkWindow *window,
GdkScreen *screen, GdkWindow *real_parent,
GdkEventMask event_mask, GdkScreen *screen,
GdkWindowAttr *attributes, GdkEventMask event_mask,
gint attributes_mask) GdkWindowAttr *attributes,
gint attributes_mask)
{ {
GdkWindowImplQuartz *impl; GdkWindowImplQuartz *impl;
GdkWindowImplQuartz *parent_impl; GdkWindowImplQuartz *parent_impl;