Patch 8.2.2043
Problem: GTK3: white border around text stands out.
Solution: Use current theme color. (closes #7357, issue #349)
Files: src/gui_gtk_x11.c
*** ../vim-8.2.2042/src/gui_gtk_x11.c 2020-10-27 20:43:22.927863001 +0100
--- src/gui_gtk_x11.c 2020-11-25 12:22:09.972757115 +0100
***************
*** 4039,4048 ****
#if GTK_CHECK_VERSION(3,22,2)
GtkStyleContext * const context
! = gtk_widget_get_style_context(gui.drawarea);
GtkCssProvider * const provider = gtk_css_provider_new();
gchar * const css = g_strdup_printf(
! "widget#vim-gui-drawarea {\n"
" background-color: #%.2lx%.2lx%.2lx;\n"
"}\n",
(gui.back_pixel >> 16) & 0xff,
--- 4039,4048 ----
#if GTK_CHECK_VERSION(3,22,2)
GtkStyleContext * const context
! = gtk_widget_get_style_context(gui.mainwin);
GtkCssProvider * const provider = gtk_css_provider_new();
gchar * const css = g_strdup_printf(
! "widget#vim-gui-drawarea, #vim-main-window {\n"
" background-color: #%.2lx%.2lx%.2lx;\n"
"}\n",
(gui.back_pixel >> 16) & 0xff,
*** ../vim-8.2.2042/src/version.c 2020-11-25 11:47:32.760444480 +0100
--- src/version.c 2020-11-25 12:23:18.692505166 +0100
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2043,
/**/
--
A real patriot is the fellow who gets a parking ticket and rejoices
that the system works.
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language --
http://www.Zimbu.org ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///