patch 8.2.2043: GTK3: white border around text stands out
Problem: GTK3: white border around text stands out.
Solution: Use current theme color. (closes #7357, issue #349)
diff --git a/src/gui_gtk_x11.c b/src/gui_gtk_x11.c
index 1a4ebf9..e06bfd7 100644
--- a/src/gui_gtk_x11.c
+++ b/src/gui_gtk_x11.c
@@ -4039,10 +4039,10 @@
#if GTK_CHECK_VERSION(3,22,2)
GtkStyleContext * const context
- = gtk_widget_get_style_context(gui.drawarea);
+ = gtk_widget_get_style_context(gui.mainwin);
GtkCssProvider * const provider = gtk_css_provider_new();
gchar * const css = g_strdup_printf(
- "widget#vim-gui-drawarea {\n"
+ "widget#vim-gui-drawarea, #vim-main-window {\n"
" background-color: #%.2lx%.2lx%.2lx;\n"
"}\n",
(gui.back_pixel >> 16) & 0xff,
diff --git a/src/version.c b/src/version.c
index fcd7243..a187618 100644
--- a/src/version.c
+++ b/src/version.c
@@ -751,6 +751,8 @@
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 2043,
+/**/
2042,
/**/
2041,