[maemo-commits] [maemo-commits] r13813 - in projects/haf/trunk/hildon-desktop: . libhildondesktop

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Fri Sep 14 13:45:34 EEST 2007
Author: jobi
Date: 2007-09-14 13:45:33 +0300 (Fri, 14 Sep 2007)
New Revision: 13813

Modified:
   projects/haf/trunk/hildon-desktop/ChangeLog
   projects/haf/trunk/hildon-desktop/libhildondesktop/hildon-desktop-picture.c
Log:

2007-09-13 Johan Bilien  <johan.bilien at nokia.com>

	* libhildondesktop/hildon-desktop-picture.c: sync with X
	after creating a picture



Modified: projects/haf/trunk/hildon-desktop/ChangeLog
===================================================================
--- projects/haf/trunk/hildon-desktop/ChangeLog	2007-09-14 09:12:09 UTC (rev 13812)
+++ projects/haf/trunk/hildon-desktop/ChangeLog	2007-09-14 10:45:33 UTC (rev 13813)
@@ -1,3 +1,8 @@
+2007-09-13 Johan Bilien  <johan.bilien at nokia.com>
+
+	* libhildondesktop/hildon-desktop-picture.c: sync with X
+	after creating a picture
+
 2007-09-13  Lucas Rocha  <lucas.rocha at nokia.com>
 
 	* src/hd-switcher-menu.c (hd_switcher_menu_popup_window_keypress_cb,

Modified: projects/haf/trunk/hildon-desktop/libhildondesktop/hildon-desktop-picture.c
===================================================================
--- projects/haf/trunk/hildon-desktop/libhildondesktop/hildon-desktop-picture.c	2007-09-14 09:12:09 UTC (rev 13812)
+++ projects/haf/trunk/hildon-desktop/libhildondesktop/hildon-desktop-picture.c	2007-09-14 10:45:33 UTC (rev 13813)
@@ -355,6 +355,8 @@
                                   CPRepeat,
                                   &pa);
 
+  gdk_flush ();
+
   if (gdk_error_trap_pop ()) goto x_error;
 
   color.alpha = 0xFFFF;
@@ -369,6 +371,8 @@
                         &color,
                         0, 0,
                         width, height);
+
+  gdk_flush ();
   if (gdk_error_trap_pop ()) goto x_error;
 
   XFreePixmap (GDK_DISPLAY (), pixmap);


More information about the maemo-commits mailing list