]> granicus.if.org Git - vim/commitdiff
patch 8.2.4550: Motif: cannot set the color of the scrollbar thumb v8.2.4550
authorBram Moolenaar <Bram@vim.org>
Sat, 12 Mar 2022 12:21:28 +0000 (12:21 +0000)
committerBram Moolenaar <Bram@vim.org>
Sat, 12 Mar 2022 12:21:28 +0000 (12:21 +0000)
Problem:    Motif: cannot set the color of the scrollbar thumb.
Solution:   Remove #ifdef.

src/gui_motif.c
src/version.c

index ef3747d8d2c4a587cbcfb8004c142b983ea3ba5d..564c0bb0747887a57c29a1e3c2c24bfdca5a68be 100644 (file)
@@ -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);
     }
 
index 7861799b08d60ec04866e1db96ab6384d6f674ed..d5b9380b595aa9f761f8ab7f7227690a332e6e67 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    4550,
 /**/
     4549,
 /**/