mirror of
https://github.com/reactos/reactos.git
synced 2024-11-26 21:13:30 +08:00
[NTUSER] Fix window not updating when scrollbars created and removed. (#7245)
* Revise conditions for window complete redraw. CORE-19669 Co-authored-by: Oleg Dubinskiy <oleg.dubinskij30@gmail.com> Co-authored-by: Vitaly Orekhov <7opex0@mail.ru>
This commit is contained in:
parent
1573461cec
commit
9c0eee0333
@ -2047,11 +2047,11 @@ co_WinPosSetWindowPos(
|
||||
* class need to be completely repainted on (horizontal/vertical) size
|
||||
* change.
|
||||
*/
|
||||
if ( ( VisBefore != NULL &&
|
||||
VisAfter != NULL &&
|
||||
!(WinPos.flags & SWP_NOCOPYBITS) &&
|
||||
((WinPos.flags & SWP_NOSIZE) || !(WvrFlags & WVR_REDRAW)) &&
|
||||
!(Window->ExStyle & WS_EX_TRANSPARENT) ) )
|
||||
if (VisBefore != NULL &&
|
||||
VisAfter != NULL &&
|
||||
!(WvrFlags & WVR_REDRAW) &&
|
||||
!(WinPos.flags & SWP_NOCOPYBITS) &&
|
||||
!(Window->ExStyle & WS_EX_TRANSPARENT))
|
||||
{
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user