[maemo-commits] [maemo-commits] r18490 - projects/haf/branches/libmatchbox2/bug.115761/matchbox/core

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Tue May 26 10:47:34 EEST 2009
Author: aendrodi
Date: 2009-05-26 10:47:22 +0300 (Tue, 26 May 2009)
New Revision: 18490

Modified:
   projects/haf/branches/libmatchbox2/bug.115761/matchbox/core/mb-wm-client.c
Log:
don't activate the client when its state changes but only restack


Modified: projects/haf/branches/libmatchbox2/bug.115761/matchbox/core/mb-wm-client.c
===================================================================
--- projects/haf/branches/libmatchbox2/bug.115761/matchbox/core/mb-wm-client.c	2009-05-26 07:44:24 UTC (rev 18489)
+++ projects/haf/branches/libmatchbox2/bug.115761/matchbox/core/mb-wm-client.c	2009-05-26 07:47:22 UTC (rev 18490)
@@ -836,7 +836,6 @@
   MBWMClientWindow  *win = client->window;
   Bool               old_state;
   Bool               new_state = False;
-  Bool               activate = True;
   MBWMClientWindowEWMHState state_flag;
 
   switch (state)
@@ -905,14 +904,13 @@
   if ((state_flag & MBWMClientWindowEWMHStateFullscreen))
     {
       mb_wm_client_fullscreen_mark_dirty (client);
+      mb_wm_display_sync_queue (wm, MBWMSyncStacking);
     }
 
   /*
    * FIXME -- resize && move, possibly redraw decors when returning from
    * fullscreen
    */
-  if (activate) 
-    mb_wm_activate_client(wm, client);
 }
 
 Bool


More information about the maemo-commits mailing list