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 -- [email protected] -- 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 ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/202011251126.0APBQbmf2017979%40masaka.moolenaar.net.