Patch from RDB: the xterm move-window sequences now don't screw up
[u/mdw/putty] / window.c
index 6f5b670..1b7f608 100644 (file)
--- a/window.c
+++ b/window.c
@@ -4222,6 +4222,11 @@ void set_iconic(int iconic)
  */
 void move_window(int x, int y)
 {
+    if (cfg.resize_action == RESIZE_DISABLED || 
+        cfg.resize_action == RESIZE_FONT ||
+       IsZoomed(hwnd))
+       return;
+
     SetWindowPos(hwnd, NULL, x, y, 0, 0, SWP_NOSIZE | SWP_NOZORDER);
 }