summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2022-03-12 12:21:28 +0000
committerBram Moolenaar <Bram@vim.org>2022-03-12 12:21:28 +0000
commit5b4f8a0e8476d57ee8a48e45171d19c1d2b4154e (patch)
treeed38d2c805158fd9985497b4e9eac89fdb8999b4
parente2adcf397421d47440d135a97765e1dbe7f824fe (diff)
downloadvim-git-5b4f8a0e8476d57ee8a48e45171d19c1d2b4154e.tar.gz
patch 8.2.4550: Motif: cannot set the color of the scrollbar thumbv8.2.4550
Problem: Motif: cannot set the color of the scrollbar thumb. Solution: Remove #ifdef.
-rw-r--r--src/gui_motif.c2
-rw-r--r--src/version.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gui_motif.c b/src/gui_motif.c
index ef3747d8d..564c0bb07 100644
--- a/src/gui_motif.c
+++ b/src/gui_motif.c
@@ -1906,9 +1906,7 @@ gui_mch_set_scrollbar_colors(scrollbar_T *sb)
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
index 7861799b0..d5b9380b5 100644
--- 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,