# HG changeset patch # User Bram Moolenaar # Date 1647088203 -3600 # Node ID c66769ac30b224a5d33a1765c7d22df7b3c30cf3 # Parent 560a9d7bc55c75eb5701e8734ec329b6c66a10c5 patch 8.2.4550: Motif: cannot set the color of the scrollbar thumb Commit: https://github.com/vim/vim/commit/5b4f8a0e8476d57ee8a48e45171d19c1d2b4154e Author: Bram Moolenaar Date: Sat Mar 12 12:21:28 2022 +0000 patch 8.2.4550: Motif: cannot set the color of the scrollbar thumb Problem: Motif: cannot set the color of the scrollbar thumb. Solution: Remove #ifdef. diff --git a/src/gui_motif.c b/src/gui_motif.c --- a/src/gui_motif.c +++ b/src/gui_motif.c @@ -1906,9 +1906,7 @@ gui_mch_set_scrollbar_colors(scrollbar_T if (gui.scroll_fg_pixel != INVALCOLOR) XtVaSetValues(sb->id, XmNforeground, gui.scroll_fg_pixel, -#if (XmVersion<1002) XmNbackground, gui.scroll_fg_pixel, -#endif NULL); } diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -751,6 +751,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 4550, +/**/ 4549, /**/ 4548,