Mercurial > vim
comparison src/gui_motif.c @ 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 | 298b32b544ae |
children | e257b6be5bd6 |
comparison
equal
deleted
inserted
replaced
28050:560a9d7bc55c | 28051:c66769ac30b2 |
---|---|
1904 } | 1904 } |
1905 | 1905 |
1906 if (gui.scroll_fg_pixel != INVALCOLOR) | 1906 if (gui.scroll_fg_pixel != INVALCOLOR) |
1907 XtVaSetValues(sb->id, | 1907 XtVaSetValues(sb->id, |
1908 XmNforeground, gui.scroll_fg_pixel, | 1908 XmNforeground, gui.scroll_fg_pixel, |
1909 #if (XmVersion<1002) | |
1910 XmNbackground, gui.scroll_fg_pixel, | 1909 XmNbackground, gui.scroll_fg_pixel, |
1911 #endif | |
1912 NULL); | 1910 NULL); |
1913 } | 1911 } |
1914 | 1912 |
1915 // This is needed for the rectangle below the vertical scrollbars. | 1913 // This is needed for the rectangle below the vertical scrollbars. |
1916 if (sb == &gui.bottom_sbar && textAreaForm != (Widget)0) | 1914 if (sb == &gui.bottom_sbar && textAreaForm != (Widget)0) |