[fusion-commits] compiz mirror: Changes to 'master' (6e635e32a2f75fe44fddd3b60e841131d2c54d72)

compiz at server.beryl-project.org compiz at server.beryl-project.org
Sat Jul 28 14:37:05 CEST 2007


New commits:
commit 6e635e32a2f75fe44fddd3b60e841131d2c54d72
Author: Danny Baumann <dannybaumann at web.de>
Date:   Sat Jul 28 13:51:44 2007 +0200

    Revert "Set 'cancel' flag if the resize geometry at termination matches the geometry at initiation."
    A better fix for the underlying problem has been implemented in commit 3cc932c2518be2d8b05f9b7ee7b0401d3113291c.
    This reverts commit 624b46a77bc9e3b1220023021c2c4f9cc0bddda2.


 plugins/resize.c |   11 -----------
 1 files changed, 0 insertions(+), 11 deletions(-)


Modified: compiz/plugins/resize.c
===================================================================
--- compiz/plugins/resize.c
+++ compiz/plugins/resize.c
@@ -481,17 +481,6 @@ resizeTerminate (CompDisplay	 *d,
 
 	RESIZE_SCREEN (w->screen);
 
-	if (rd->geometry.x      == rd->savedGeometry.x     &&
-	    rd->geometry.y      == rd->savedGeometry.y     &&
-	    rd->geometry.width  == rd->savedGeometry.width &&
-	    rd->geometry.height == rd->savedGeometry.height)
-	{
-	    /* If the geometry at termination matches the
-	       geometry at initiation, resizing basically
-	       was cancelled, so reflect that in the state. */
-	    state |= CompActionStateCancel;
-	}
-
 	if (rd->mode == RESIZE_MODE_NORMAL)
 	{
 	    if (state & CompActionStateCancel)


More information about the commits mailing list