[maemo-commits] [maemo-commits] r19340 - in projects/haf/trunk/libmatchbox2: . matchbox/client-types

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Fri Sep 11 14:43:57 EEST 2009
Author: mordinasillopis
Date: 2009-09-11 14:43:19 +0300 (Fri, 11 Sep 2009)
New Revision: 19340

Modified:
   projects/haf/trunk/libmatchbox2/ChangeLog
   projects/haf/trunk/libmatchbox2/matchbox/client-types/mb-wm-client-dialog.c
Log:
Stack dialogs correctly if transient_for is None.

Modified: projects/haf/trunk/libmatchbox2/ChangeLog
===================================================================
--- projects/haf/trunk/libmatchbox2/ChangeLog	2009-09-11 10:36:57 UTC (rev 19339)
+++ projects/haf/trunk/libmatchbox2/ChangeLog	2009-09-11 11:43:19 UTC (rev 19340)
@@ -1,3 +1,9 @@
+2009-09-11  Marc Ordinas i Llopis  <marc.ordinasillopis at collabora.co.uk>
+
+	Stack dialogs correctly if transient_for is None.
+
+	* matchbox/client-types/mb-wm-client-dialog.c:
+
 2009-09-11  Kimmo Hämäläinen  <kimmo.hamalainen at nokia.com>
 
 	Release 0.2.67

Modified: projects/haf/trunk/libmatchbox2/matchbox/client-types/mb-wm-client-dialog.c
===================================================================
--- projects/haf/trunk/libmatchbox2/matchbox/client-types/mb-wm-client-dialog.c	2009-09-11 10:36:57 UTC (rev 19339)
+++ projects/haf/trunk/libmatchbox2/matchbox/client-types/mb-wm-client-dialog.c	2009-09-11 11:43:19 UTC (rev 19340)
@@ -367,7 +367,8 @@
 static MBWMStackLayerType
 mb_wm_client_dialog_stacking_layer (MBWindowManagerClient *client)
 {
-  if (mb_wm_client_is_system_modal (client))
+  if (mb_wm_client_is_system_modal (client)||
+      client->transient_for == None)
     {
       if (client->window->hildon_stacking_layer == 0)
         /* Stack with 'always on top' */

More information about the maemo-commits mailing list