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

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Thu Jul 23 15:11:39 EEST 2009
Author: gw
Date: 2009-07-23 15:11:36 +0300 (Thu, 23 Jul 2009)
New Revision: 18966

Modified:
   projects/haf/trunk/libmatchbox2/ChangeLog
   projects/haf/trunk/libmatchbox2/matchbox/core/mb-wm-client-window.c
Log:
	Resolves half of NB#127320 - desktop panning
	* matchbox/core/mb-wm-client-window.c: Remove the 'Monster Hack'. The
	original reason for this (browser visibility) appears to have gone 
	away, and this caused the desktop to be 799x479 (instead of 800x480)
	which meant that dragging right from the right-hand side of the
	screen failed to produce a mouse_pressed event on the desktop.


Modified: projects/haf/trunk/libmatchbox2/ChangeLog
===================================================================
--- projects/haf/trunk/libmatchbox2/ChangeLog	2009-07-23 12:08:29 UTC (rev 18965)
+++ projects/haf/trunk/libmatchbox2/ChangeLog	2009-07-23 12:11:36 UTC (rev 18966)
@@ -1,5 +1,12 @@
 2009-07-23  Gordon Williams <gordon.williams at collabora.co.uk>
 
+	Resolves half of NB#127320 - desktop panning
+	* matchbox/core/mb-wm-client-window.c: Remove the 'Monster Hack'. The
+	original reason for this (browser visibility) appears to have gone 
+	away, and this caused the desktop to be 799x479 (instead of 800x480)
+	which meant that dragging right from the right-hand side of the
+	screen failed to produce a mouse_pressed event on the desktop.
+
 	* matchbox/core/mb-wm-types.h
         * matchbox/core/mb-wm-atoms.c
 	* matchbox/core/mb-wm-client.c: For RGBA sapwood - look for 

Modified: projects/haf/trunk/libmatchbox2/matchbox/core/mb-wm-client-window.c
===================================================================
--- projects/haf/trunk/libmatchbox2/matchbox/core/mb-wm-client-window.c	2009-07-23 12:08:29 UTC (rev 18965)
+++ projects/haf/trunk/libmatchbox2/matchbox/core/mb-wm-client-window.c	2009-07-23 12:11:36 UTC (rev 18966)
@@ -600,12 +600,6 @@
 	  goto abort;
 	}
 
-      /* FIXME: Monster Hack to make Browser visible (800x480 was a problem) */
-      if (win->x_geometry.width >= wm->xdpy_width)
-	      win->x_geometry.width = wm->xdpy_width - 1;
-      if (win->x_geometry.height >= wm->xdpy_height)
-	      win->x_geometry.height = wm->xdpy_height - 1;
-
       MBWM_DBG("@@@ New Window Obj @@@");
       MBWM_DBG("Win:  %lx", win->xwindow);
       MBWM_DBG("Type: %lx",win->net_type);

More information about the maemo-commits mailing list