[maemo-commits] [maemo-commits] r17477 - projects/haf/trunk/libmatchbox2/matchbox/core

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Sun Feb 22 14:30:51 EET 2009
Author: kihamala
Date: 2009-02-22 14:30:42 +0200 (Sun, 22 Feb 2009)
New Revision: 17477

Modified:
   projects/haf/trunk/libmatchbox2/matchbox/core/mb-window-manager.c
   projects/haf/trunk/libmatchbox2/matchbox/core/mb-wm-client.c
Log:
add two FIXMEs


Modified: projects/haf/trunk/libmatchbox2/matchbox/core/mb-window-manager.c
===================================================================
--- projects/haf/trunk/libmatchbox2/matchbox/core/mb-window-manager.c	2009-02-20 16:06:08 UTC (rev 17476)
+++ projects/haf/trunk/libmatchbox2/matchbox/core/mb-window-manager.c	2009-02-22 12:30:42 UTC (rev 17477)
@@ -2050,6 +2050,8 @@
   if (client != wm->focused_client)
     return;
 
+  /* FIXME: shouldn't we always start from top of the stack, because
+   * the next client might not want focus? */
   next = mb_wm_client_get_next_focused_client (client);
 
   if (!next && wm->stack_top)

Modified: projects/haf/trunk/libmatchbox2/matchbox/core/mb-wm-client.c
===================================================================
--- projects/haf/trunk/libmatchbox2/matchbox/core/mb-wm-client.c	2009-02-20 16:06:08 UTC (rev 17476)
+++ projects/haf/trunk/libmatchbox2/matchbox/core/mb-wm-client.c	2009-02-22 12:30:42 UTC (rev 17477)
@@ -655,6 +655,8 @@
 {
   MBWindowManagerClient *result=NULL, *c;
 
+  /* FIXME: should this be enumerate_reverse?
+   * Now it begins from the bottom? */
   mb_wm_stack_enumerate (client->wmref, c)
       if (c->transient_for == client)
         result = c;


More information about the maemo-commits mailing list