~mdw
/
sgt
/
putty
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
9a1291f
)
Patch from RDB: the xterm move-window sequences now don't screw up
author
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 8 Jan 2002 09:56:06 +0000
(09:56 +0000)
committer
simon
<simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 8 Jan 2002 09:56:06 +0000
(09:56 +0000)
when the window is e.g. maximised.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1533
cda61777
-01e9-0310-a592-
d414129be87e
window.c
patch
|
blob
|
blame
|
history
diff --git
a/window.c
b/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);
}