X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/9976dbbcbc32aeace8f5f74e3d91a13abde4ab70..0622ea7168aa265db70be885fbffb050f29f0205:/window.c diff --git a/window.c b/window.c index 6f5b6700..1b7f6089 100644 --- 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); }