gtk+ r21880 - in trunk: . gdk/x11
- From: matthiasc svn gnome org
- To: svn-commits-list gnome org
- Subject: gtk+ r21880 - in trunk: . gdk/x11
- Date: Sat, 13 Dec 2008 05:33:14 +0000 (UTC)
Author: matthiasc
Date: Sat Dec 13 05:33:14 2008
New Revision: 21880
URL: http://svn.gnome.org/viewvc/gtk+?rev=21880&view=rev
Log:
* gdk/x11/gdkdisplay-x11.c (gdk_display_open): Initialize the
XAtom cache earlier. Patch by Christian Persch
Modified:
trunk/ChangeLog
trunk/gdk/x11/gdkdisplay-x11.c
Modified: trunk/gdk/x11/gdkdisplay-x11.c
==============================================================================
--- trunk/gdk/x11/gdkdisplay-x11.c (original)
+++ trunk/gdk/x11/gdkdisplay-x11.c Sat Dec 13 05:33:14 2008
@@ -181,6 +181,8 @@
XAddConnectionWatch (xdisplay, gdk_internal_connection_watch, NULL);
#endif /* HAVE_X11R6 */
+ _gdk_x11_precache_atoms (display, precache_atoms, G_N_ELEMENTS (precache_atoms));
+
/* RandR must be initialized before we initialize the screens */
display_x11->have_randr12 = FALSE;
#ifdef HAVE_RANDR
@@ -218,8 +220,6 @@
attr.height = 10;
attr.event_mask = 0;
- _gdk_x11_precache_atoms (display, precache_atoms, G_N_ELEMENTS (precache_atoms));
-
display_x11->leader_gdk_window = gdk_window_new (GDK_SCREEN_X11 (display_x11->default_screen)->root_window,
&attr, GDK_WA_X | GDK_WA_Y);
(_gdk_x11_window_get_toplevel (display_x11->leader_gdk_window))->is_leader = TRUE;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]