mirror of
https://github.com/reactos/reactos.git
synced 2024-06-01 10:11:43 +00:00
[NTUSER] Missing "X" on "Folder" pane when Right Click > Explore from Desktop icons & Rapps toolbar errors (#5068)
Fix for right-clicking on 'My Computer' and selecting 'explore' and there is no 'X' for the title bar in the Folders pane
Also fixes Rapps missing toolbar combo box and edit box controls that were not displayed.
This is a complete revert of #4995 (commit 7866eb2
) while still retaining its fixes.
CORE-18830, CORE-18817
Co-authored-by: I_Kill_Bugs
This commit is contained in:
parent
97db8a258d
commit
57eb2a6bf4
|
@ -1979,7 +1979,7 @@ co_WinPosSetWindowPos(
|
|||
Window->state |= WNDS_SENDNCPAINT;
|
||||
}
|
||||
|
||||
if (!(WinPos.flags & SWP_NOREDRAW))
|
||||
if (!(WinPos.flags & SWP_NOREDRAW) && ((WinPos.flags & SWP_AGG_STATUSFLAGS) != SWP_AGG_NOPOSCHANGE))
|
||||
{
|
||||
/* Determine the new visible region */
|
||||
VisAfter = VIS_ComputeVisibleRegion(Window, FALSE, FALSE,
|
||||
|
@ -2100,8 +2100,7 @@ co_WinPosSetWindowPos(
|
|||
}
|
||||
|
||||
/* We need to redraw what wasn't visible before or force a redraw */
|
||||
if ((WinPos.flags & (SWP_FRAMECHANGED | SWP_SHOWWINDOW)) ||
|
||||
(((WinPos.flags & SWP_AGG_NOGEOMETRYCHANGE) != SWP_AGG_NOGEOMETRYCHANGE) && VisAfter != NULL))
|
||||
if (VisAfter != NULL)
|
||||
{
|
||||
PREGION DirtyRgn = IntSysCreateRectpRgn(0, 0, 0, 0);
|
||||
if (DirtyRgn)
|
||||
|
|
Loading…
Reference in a new issue