projects
/
u
/
mdw
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Patch from RDB: the xterm move-window sequences now don't screw up
[u/mdw/putty]
/
window.c
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);
}