~linaro-maintainers/compiz-plugins-main/overlay-gl

1
2
3
4
5
6
7
8
9
10
11
12
13
14
=== modified file 'src/snap.cpp'
Index: compiz-plugins-main-0.9.6/snap/src/snap.cpp
===================================================================
--- compiz-plugins-main-0.9.6.orig/snap/src/snap.cpp	2011-10-08 00:07:30.750398687 +0800
+++ compiz-plugins-main-0.9.6/snap/src/snap.cpp	2011-10-08 00:07:49.882493524 +0800
@@ -396,7 +396,7 @@
 	// Update snapping data
 	if (ss->optionGetSnapTypeMask () & SnapTypeEdgeResistanceMask)
 	{
-	    snapGeometry = window->serverGeometry ();
+	    snapGeometry = window->geometry ();
 	    this->snapDirection |= snapDirection;
 	}
 	// Attract the window if needed, moving it of the correct dist