changeset 28051:c66769ac30b2 v8.2.4550

patch 8.2.4550: Motif: cannot set the color of the scrollbar thumb Commit: https://github.com/vim/vim/commit/5b4f8a0e8476d57ee8a48e45171d19c1d2b4154e Author: Bram Moolenaar <Bram@vim.org> 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.
author Bram Moolenaar <Bram@vim.org>
date Sat, 12 Mar 2022 13:30:03 +0100
parents 560a9d7bc55c
children ecbf6ee5ba2c
files src/gui_motif.c src/version.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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);
     }
 
--- 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,