[maemo-commits] [maemo-commits] r18624 - in projects/haf/trunk/libmatchbox2: . matchbox/core

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Fri Jun 5 14:02:46 EEST 2009
Author: aendrodi
Date: 2009-06-05 14:02:42 +0300 (Fri, 05 Jun 2009)
New Revision: 18624

Modified:
   projects/haf/trunk/libmatchbox2/ChangeLog
   projects/haf/trunk/libmatchbox2/matchbox/core/mb-wm-layout.c
Log:
	* matchbox/core/mb-wm-layout.c (mb_wm_layout_real_layout_free):
	  Undoing Kimmo's change not to reconfigure hidden windows.
	  Let's do it in h-d.


Modified: projects/haf/trunk/libmatchbox2/ChangeLog
===================================================================
--- projects/haf/trunk/libmatchbox2/ChangeLog	2009-06-05 10:45:17 UTC (rev 18623)
+++ projects/haf/trunk/libmatchbox2/ChangeLog	2009-06-05 11:02:42 UTC (rev 18624)
@@ -1,3 +1,9 @@
+2009-06-05  Adam Endrodi  <adam.endrodi at blumsoft.eu>
+
+	* matchbox/core/mb-wm-layout.c (mb_wm_layout_real_layout_free):
+	  Undoing Kimmo's change not to reconfigure hidden windows.
+	  Let's do it in h-d.
+
 2009-06-04  Kimmo Hämäläinen  <kimmo.hamalainen at nokia.com>
 
 	Patch from Laszlo for NB#120014.

Modified: projects/haf/trunk/libmatchbox2/matchbox/core/mb-wm-layout.c
===================================================================
--- projects/haf/trunk/libmatchbox2/matchbox/core/mb-wm-layout.c	2009-06-05 10:45:17 UTC (rev 18623)
+++ projects/haf/trunk/libmatchbox2/matchbox/core/mb-wm-layout.c	2009-06-05 11:02:42 UTC (rev 18624)
@@ -540,7 +540,7 @@
   MBGeometry             coverage;
   Bool                   need_change;
 
-  mb_wm_stack_enumerate_reverse(wm, client)
+  mb_wm_stack_enumerate (wm, client)
     if (mb_wm_client_get_layout_hints (client) ==
 	(LayoutPrefGrowToFreeSpace|LayoutPrefVisible))
       {
@@ -560,17 +560,6 @@
 					 &coverage,
 					 MBWMClientReqGeomIsViaLayoutManager);
 	  }
-
-        if (avail_geom->width < avail_geom->height &&
-            coverage.width >= avail_geom->width &&
-            coverage.height >= avail_geom->height)
-          {
-                /*
-            g_warning ("%s: don't configure background windows in portrait",
-                     __func__);
-                     */
-            break;
-          }
       }
 
   mb_wm_stack_enumerate(wm, client)


More information about the maemo-commits mailing list