mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
Fully initialize the root window, fixes bug #501583.
2007-12-04 Richard Hult <richard@imendio.com> * gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init): Fully initialize the root window, fixes bug #501583. svn path=/trunk/; revision=19109
This commit is contained in:
parent
2b3c7b70ef
commit
4a82f84a28
@ -1,3 +1,8 @@
|
||||
2007-12-04 Richard Hult <richard@imendio.com>
|
||||
|
||||
* gdk/quartz/gdkwindow-quartz.c: (_gdk_windowing_window_init):
|
||||
Fully initialize the root window, fixes bug #501583.
|
||||
|
||||
2007-12-04 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtknotebook.c: Modify the tab-label-destroy fix to not
|
||||
|
@ -834,6 +834,7 @@ _gdk_windowing_window_init (void)
|
||||
{
|
||||
GdkWindowObject *private;
|
||||
GdkWindowImplQuartz *impl;
|
||||
GdkDrawableImplQuartz *drawable_impl;
|
||||
NSRect rect;
|
||||
|
||||
g_assert (_gdk_root == NULL);
|
||||
@ -851,6 +852,12 @@ _gdk_windowing_window_init (void)
|
||||
private->state = 0; /* We don't want GDK_WINDOW_STATE_WITHDRAWN here */
|
||||
private->window_type = GDK_WINDOW_ROOT;
|
||||
private->depth = 24;
|
||||
|
||||
drawable_impl = GDK_DRAWABLE_IMPL_QUARTZ (private->impl);
|
||||
|
||||
drawable_impl->wrapper = GDK_DRAWABLE (private);
|
||||
drawable_impl->colormap = gdk_screen_get_system_colormap (_gdk_screen);
|
||||
g_object_ref (drawable_impl->colormap);
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user