mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-04-22 13:35:03 -05:00
Patch from RDB: the xterm move-window sequences now don't screw up
when the window is e.g. maximised. [originally from svn r1533]
This commit is contained in:
parent
9e6923016c
commit
ba435fa6a0
5
window.c
5
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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user