Mirror of the Vim source from https://github.com/vim/vim
Révision | 3922abbc46a2706c691e22b3985d96a6e5dacdc4 (tree) |
---|---|
l'heure | 2020-11-25 20:30:04 |
Auteur | Bram Moolenaar <Bram@vim....> |
Commiter | Bram Moolenaar |
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
@@ -4039,10 +4039,10 @@ | ||
4039 | 4039 | |
4040 | 4040 | #if GTK_CHECK_VERSION(3,22,2) |
4041 | 4041 | GtkStyleContext * const context |
4042 | - = gtk_widget_get_style_context(gui.drawarea); | |
4042 | + = gtk_widget_get_style_context(gui.mainwin); | |
4043 | 4043 | GtkCssProvider * const provider = gtk_css_provider_new(); |
4044 | 4044 | gchar * const css = g_strdup_printf( |
4045 | - "widget#vim-gui-drawarea {\n" | |
4045 | + "widget#vim-gui-drawarea, #vim-main-window {\n" | |
4046 | 4046 | " background-color: #%.2lx%.2lx%.2lx;\n" |
4047 | 4047 | "}\n", |
4048 | 4048 | (gui.back_pixel >> 16) & 0xff, |
@@ -751,6 +751,8 @@ | ||
751 | 751 | static int included_patches[] = |
752 | 752 | { /* Add new patch number below this line */ |
753 | 753 | /**/ |
754 | + 2043, | |
755 | +/**/ | |
754 | 756 | 2042, |
755 | 757 | /**/ |
756 | 758 | 2041, |