[maemo-commits] [maemo-commits] r18197 - in projects/haf/trunk/libmatchbox2: . matchbox/comp-mgr

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Thu Apr 30 10:32:13 EEST 2009
Author: aendrodi
Date: 2009-04-30 10:32:11 +0300 (Thu, 30 Apr 2009)
New Revision: 18197

Modified:
   projects/haf/trunk/libmatchbox2/ChangeLog
   projects/haf/trunk/libmatchbox2/matchbox/comp-mgr/mb-wm-comp-mgr-clutter.c
Log:
	Fix for missing textures after restarting the wm.

	* matchbox/comp-mgr/mb-wm-comp-mgr-clutter.c (mb_wm_comp_mgr_clutter_map_notify_real):
	  Fetch the texture unconditionally when the client is mapped.
	  Otherwise we fetch the texture on the first damage or when
	  the client changes fullscreenness, but in case of non-topmost
	  stackable windows neither of these may occurr, leaving the
	  texture unfetched.


Modified: projects/haf/trunk/libmatchbox2/ChangeLog
===================================================================
--- projects/haf/trunk/libmatchbox2/ChangeLog	2009-04-30 07:22:07 UTC (rev 18196)
+++ projects/haf/trunk/libmatchbox2/ChangeLog	2009-04-30 07:32:11 UTC (rev 18197)
@@ -1,3 +1,14 @@
+2009-04-30  Adam Endrodi  <adam.endrodi at blumsoft.eu>
+
+	Fix for missing textures after restarting the wm.
+
+	* matchbox/comp-mgr/mb-wm-comp-mgr-clutter.c (mb_wm_comp_mgr_clutter_map_notify_real):
+	  Fetch the texture unconditionally when the client is mapped.
+	  Otherwise we fetch the texture on the first damage or when
+	  the client changes fullscreenness, but in case of non-topmost
+	  stackable windows neither of these may occurr, leaving the
+	  texture unfetched.
+
 2009-04-30  Kimmo Hämäläinen  <kimmo.hamalainen at nokia.com>
 
 	* matchbox/client-types/mb-wm-client-input.c

Modified: projects/haf/trunk/libmatchbox2/matchbox/comp-mgr/mb-wm-comp-mgr-clutter.c
===================================================================
--- projects/haf/trunk/libmatchbox2/matchbox/comp-mgr/mb-wm-comp-mgr-clutter.c	2009-04-30 07:22:07 UTC (rev 18196)
+++ projects/haf/trunk/libmatchbox2/matchbox/comp-mgr/mb-wm-comp-mgr-clutter.c	2009-04-30 07:32:11 UTC (rev 18197)
@@ -1071,6 +1071,9 @@
    * time we create the texture */
   mb_wm_comp_mgr_clutter_client_set_size(cclient, TRUE);
 
+  g_assert (!cclient->priv->bound);
+  mb_wm_comp_mgr_clutter_fetch_texture (client);
+
   /* If the client has a "do not show" flag set explicitly,
      prevent it from being shown when it is added to the desktop */
 


More information about the maemo-commits mailing list