Dmitry Timoshkov : user32: Don't force a combobox repaint on WM_SIZE.
Module: wine Branch: oldstable Commit: 12146ad5a82c128ce8a888806035320b4dddefa0 URL: https://source.winehq.org/git/wine.git/?a=commit;h=12146ad5a82c128ce8a888806... Author: Dmitry Timoshkov <dmitry(a)baikal.ru> Date: Sun Nov 25 20:57:53 2018 +0300 user32: Don't force a combobox repaint on WM_SIZE. This breaks z-order based painting and causes side effects for applications that during the WM_PAINT processing reference internal data associated with a not fully initialized window. Signed-off-by: Dmitry Timoshkov <dmitry(a)baikal.ru> Signed-off-by: Alexandre Julliard <julliard(a)winehq.org> (cherry picked from commit 2d9e3236ea8ae752184b8a285f9d616ec94afb8f) Signed-off-by: Michael Stefaniuc <mstefani(a)winehq.org> --- dlls/user32/combo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/user32/combo.c b/dlls/user32/combo.c index b69f892..1e0b072 100644 --- a/dlls/user32/combo.c +++ b/dlls/user32/combo.c @@ -1555,7 +1555,7 @@ static void COMBO_Size( LPHEADCOMBO lphc ) &lphc->buttonRect, &lphc->droppedRect); - CBResetPos( lphc, &lphc->textRect, &lphc->droppedRect, TRUE ); + CBResetPos( lphc, &lphc->textRect, &lphc->droppedRect, FALSE ); }
participants (1)
-
Alexandre Julliard