[Wine-patches] [eterhack] [eter-1.0.12] user32: Hack for Chronograph 3.0 Master (eterbug #6820).
Alexander Morozov
amorozov на etersoft.ru
Вт Фев 1 20:23:37 MSK 2011
----------- следующая часть -----------
From f5eb6481fad7902aaa1c24d6adf4532fc296bbf4 Mon Sep 17 00:00:00 2001
From: Alexander Morozov <amorozov на etersoft.ru>
Date: Tue, 1 Feb 2011 19:55:33 +0300
Subject: [PATCH] user32: Hack for Chronograph 3.0 Master (eterbug #6820).
---
dlls/user32/winpos.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/dlls/user32/winpos.c b/dlls/user32/winpos.c
index ea2ec87..4922da1 100644
--- a/dlls/user32/winpos.c
+++ b/dlls/user32/winpos.c
@@ -2065,6 +2065,12 @@ BOOL USER_SetWindowPos( WINDOWPOS * winpos )
else if (winpos->cy > 32767) winpos->cy = 32767;
}
+ /* HACK for Chronograph 3.0 Master (eterbug #6820) */
+ if (GetWindowLongW(winpos->hwnd, GWL_EXSTYLE) ==
+ (WS_EX_MDICHILD | WS_EX_WINDOWEDGE) &&
+ winpos->flags == (SWP_STATECHANGED | SWP_FRAMECHANGED |
+ SWP_NOACTIVATE | SWP_SHOWWINDOW | SWP_NOZORDER)) return FALSE;
+
if (!SWP_DoWinPosChanging( winpos, &newWindowRect, &newClientRect )) return FALSE;
/* This hack need for delphi applications. Its
--
1.7.3.5
Подробная информация о списке рассылки Wine-patches