Mercurial > vim
changeset 22993:3922abbc46a2 v8.2.2043
patch 8.2.2043: GTK3: white border around text stands out
Commit: https://github.com/vim/vim/commit/ff94bd9e4779b918f3761035f43a97ba7175b3ce
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Nov 25 12:25:47 2020 +0100
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 https://github.com/vim/vim/issues/7357, issue https://github.com/vim/vim/issues/349)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 25 Nov 2020 12:30:04 +0100 |
parents | 116448e826f8 |
children | 1d635e77266d |
files | src/gui_gtk_x11.c src/version.c |
diffstat | 2 files changed, 4 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/gui_gtk_x11.c +++ b/src/gui_gtk_x11.c @@ -4039,10 +4039,10 @@ gui_mch_new_colors(void) #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,