https://git.reactos.org/?p=reactos.git;a=commitdiff;h=78d20a9b3a85b7c4d1e10…
commit 78d20a9b3a85b7c4d1e108301f5792d42132217f
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Sat Jun 22 23:03:10 2019 +0200
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Sun Jun 23 02:12:23 2019 +0200
[WIN32K] Fix spelling typo.
---
win32ss/gdi/eng/xlateobj.c | 2 +-
win32ss/user/ntuser/clipboard.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/win32ss/gdi/eng/xlateobj.c b/win32ss/gdi/eng/xlateobj.c
index 53d2cebc71f..2fcdcc1291f 100644
--- a/win32ss/gdi/eng/xlateobj.c
+++ b/win32ss/gdi/eng/xlateobj.c
@@ -387,7 +387,7 @@ EXLATEOBJ_vInitialize(
return;
}
- /* Check if both of the pallettes are indexed */
+ /* Check if both of the palettes are indexed */
if (!(ppalSrc->flFlags & PAL_INDEXED) || !(ppalDst->flFlags & PAL_INDEXED))
{
/* At least one palette is not indexed, calculate shifts/masks */
diff --git a/win32ss/user/ntuser/clipboard.c b/win32ss/user/ntuser/clipboard.c
index 95f44894a20..d144220a18f 100644
--- a/win32ss/user/ntuser/clipboard.c
+++ b/win32ss/user/ntuser/clipboard.c
@@ -345,7 +345,7 @@ IntAddSynthesizedFormats(PWINSTATION_OBJECT pWinStaObj)
IntAddFormatedData(pWinStaObj, CF_METAFILEPICT, DATA_SYNTH_USER, FALSE, TRUE);
/* Note: We need to render the DIB or DIBV5 format as soon as possible
- because pallette information may change */
+ because palette information may change */
if (!bHaveDib && bHaveBm)
IntSynthesizeDib(pWinStaObj, IntGetFormatElement(pWinStaObj, CF_BITMAP)->hData);
}
https://git.reactos.org/?p=reactos.git;a=commitdiff;h=1158c241941a13d8374f3…
commit 1158c241941a13d8374f3f1b3016c672c824e7f0
Author: Joachim Henze <Joachim.Henze(a)reactos.org>
AuthorDate: Sat Jun 22 22:27:23 2019 +0200
Commit: Joachim Henze <Joachim.Henze(a)reactos.org>
CommitDate: Sat Jun 22 22:27:23 2019 +0200
[WIN32SS] Fix multiple scrollbar redraw issues
This fixes:
- CORE-15911 "Scrollbars do not dissapear when Maximizing and not needed"
- CORE-10617 "ListView corrupt scrollbar upon resizing the column-header"
and will appease regression:
- CORE-15429 "Uninitialized scrollbars in 'My Computer'"
By applying clientFix.patch from CORE-15911 contributed by JIRA-user 'I_Kill_Bugs'.
https://reactos.org/testman/compare.php?ids=66723,66729
Earlier I already committed this fix into 0.4.12-RC-9-g
5ac548544ff6b3d52c6591385d9029164e766d71
---
win32ss/user/ntuser/winpos.c | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
diff --git a/win32ss/user/ntuser/winpos.c b/win32ss/user/ntuser/winpos.c
index dba7738c3b3..e01c19c1c29 100644
--- a/win32ss/user/ntuser/winpos.c
+++ b/win32ss/user/ntuser/winpos.c
@@ -1832,7 +1832,7 @@ co_WinPosSetWindowPos(
}
/* Calculate the non client area for resizes, as this is used in the copy region */
- if (!(WinPos.flags & SWP_NOSIZE))
+ if ((WinPos.flags & (SWP_NOSIZE | SWP_FRAMECHANGED)) != SWP_NOSIZE)
{
VisBeforeJustClient = VIS_ComputeVisibleRegion(Window, TRUE, FALSE,
(Window->style & WS_CLIPSIBLINGS) ? TRUE : FALSE);
@@ -1973,12 +1973,16 @@ co_WinPosSetWindowPos(
*/
CopyRgn = IntSysCreateRectpRgn(0, 0, 0, 0);
- if (WinPos.flags & SWP_NOSIZE)
+ if ((WinPos.flags & SWP_NOSIZE) && (WinPos.flags & SWP_NOCLIENTSIZE))
RgnType = IntGdiCombineRgn(CopyRgn, VisAfter, VisBefore, RGN_AND);
else if (VisBeforeJustClient != NULL)
{
RgnType = IntGdiCombineRgn(CopyRgn, VisAfter, VisBeforeJustClient, RGN_AND);
- REGION_Delete(VisBeforeJustClient);
+ }
+
+ if (VisBeforeJustClient != NULL)
+ {
+ REGION_Delete(VisBeforeJustClient);
}
/* Now use in copying bits which are in the update region. */