In current git, when starting a resize and finish it without any change, 
resizeTerminate() need to do a resizeDamageRectangle().

This patch fix the issue...

Cedric
diff --git a/plugins/resize.c b/plugins/resize.c
index a078861..ba4ed81 100644
--- a/plugins/resize.c
+++ b/plugins/resize.c
@@ -471,7 +471,12 @@ resizeTerminate (CompDisplay	 *d,
 	}
 	else
 	{
-	    if (state & CompActionStateCancel)
+	    if (state & CompActionStateCancel ||
+		( rd->geometry.x      == rd->savedGeometry.x     &&
+		  rd->geometry.y      == rd->savedGeometry.y     &&
+		  rd->geometry.width  == rd->savedGeometry.width &&
+		  rd->geometry.height == rd->savedGeometry.height
+		))
 	    {
 		BoxRec box;
 
_______________________________________________
compiz mailing list
compiz@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/compiz

Reply via email to