]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - window.c
Support SSH2_MSG_GLOBAL_REQUEST (just return failure)
[PuTTY.git] / window.c
index 6f5b67002e55cce2f2751266c5f2e7eee67d12e7..1b7f60891e8bc21aa62dc1db8ec8a309fb0a247a 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);
 }