зеркало из https://github.com/github/putty.git
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:
Родитель
9e6923016c
Коммит
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);
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче