From d1e0a352a442978aafa5b36860f236440a697844 Mon Sep 17 00:00:00 2001 From: simon Date: Tue, 8 Jan 2002 09:56:06 +0000 Subject: [PATCH] Patch from RDB: the xterm move-window sequences now don't screw up when the window is e.g. maximised. git-svn-id: svn://svn.tartarus.org/sgt/putty@1533 cda61777-01e9-0310-a592-d414129be87e --- window.c | 5 +++++ 1 file changed, 5 insertions(+) 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); } -- 2.11.0