Index: metacity/metacity-2.14.5/src/window.c
===================================================================
--- metacity.orig/metacity-2.14.5/src/window.c	2006-10-14 00:27:31.000000000 +0100
+++ metacity/metacity-2.14.5/src/window.c	2006-10-14 00:13:45.000000000 +0100
@@ -2848,13 +2848,13 @@
                   "weird positioning; new pos %d,%d\n",
                   new_rect.x, new_rect.y);
     }
-
-  meta_window_constrain (window,
-                         window->frame ? &fgeom : NULL,
-                         flags,
-                         resize_gravity,
-                         &old_rect,
-                         &new_rect);
+  else
+    meta_window_constrain (window,
+                           window->frame ? &fgeom : NULL,
+                           flags,
+                           resize_gravity,
+                           &old_rect,
+                           &new_rect);
 
   w = new_rect.width;
   h = new_rect.height;
