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

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Thu May 14 01:02:26 EEST 2009
Author: tthurman
Date: 2009-05-14 01:02:19 +0300 (Thu, 14 May 2009)
New Revision: 18361

Modified:
   projects/haf/trunk/libmatchbox2/ChangeLog
   projects/haf/trunk/libmatchbox2/matchbox/core/mb-wm-client-base.c
Log:
	Tapping the screen during the split second a fullscreen application
	is ceasing to be fullscreen does not result in the click reaching the
	application below.  Fixes NB#112423.
	* matchbox/core/mb-wm-client-base.c: map frame before reparenting
	window to it.



Modified: projects/haf/trunk/libmatchbox2/ChangeLog
===================================================================
--- projects/haf/trunk/libmatchbox2/ChangeLog	2009-05-13 18:15:48 UTC (rev 18360)
+++ projects/haf/trunk/libmatchbox2/ChangeLog	2009-05-13 22:02:19 UTC (rev 18361)
@@ -1,16 +1,23 @@
 2009-05-13  Thomas Thurman  <thomas.thurman at collabora.co.uk>
 
+	Tapping the screen during the split second a fullscreen application
+	is ceasing to be fullscreen does not result in the click reaching the
+	application below.  Fixes NB#112423.
+
+	* matchbox/core/mb-wm-client-base.c: map frame before reparenting
+	window to it.
+
+2009-05-13  Thomas Thurman  <thomas.thurman at collabora.co.uk>
+
 	* matchbox/core/mb-wm-client-base.c: use mb_wm_client_deliver_message()
 	instead of attempting to do the identical work ourselves.
 	* matchbox/core/mb-wm-client.c (mb_wm_client_deliver_message): returns
 	a gboolean to indicate success.
-	* matchbox/core/mb-wm-client.c (mb_wm_client_get_next_focused_client):
+	* matchbox/core/mb-wm-client.[ch] (mb_wm_client_get_next_focused_client):
 	removed loop, rewrote as equivalent single line.
-	* matchbox/core/mb-wm-client.h:
 	* matchbox/core/mb-wm-props.[ch]: remove mb_wm_props_send_x_message()
 	which is redundant (does exactly the same as
 	mb_wm_client_deliver_message()) and is never used.
-	* matchbox/core/mb-wm-props.h:
 
 2009-05-13  Kimmo Hämäläinen  <kimmo.hamalainen at nokia.com>
 

Modified: projects/haf/trunk/libmatchbox2/matchbox/core/mb-wm-client-base.c
===================================================================
--- projects/haf/trunk/libmatchbox2/matchbox/core/mb-wm-client-base.c	2009-05-13 18:15:48 UTC (rev 18360)
+++ projects/haf/trunk/libmatchbox2/matchbox/core/mb-wm-client-base.c	2009-05-13 22:02:19 UTC (rev 18361)
@@ -526,9 +526,9 @@
 		{
 		  client->skip_unmaps++;
                   MB_WM_DBG_SKIP_UNMAPS (client);
+		  XMapWindow(wm->xdpy, client->xwin_frame);
 		  XReparentWindow(wm->xdpy, MB_WM_CLIENT_XWIN(client),
 				  client->xwin_frame, 0, 0);
-		  XMapWindow(wm->xdpy, client->xwin_frame);
 		  XMapSubwindows(wm->xdpy, client->xwin_frame);
 
 		  /* The frame is very likely the correct dimensions (since the


More information about the maemo-commits mailing list