patch 9.1.0078: GTK3: using wrong style for pre-edit area
Commit:
https://github.com/vim/vim/commit/b1457d4cb9185b2b8d575b7736eff6d3a97d89eb
Author: lilydjwg <[email protected]>
Date: Tue Feb 6 10:49:14 2024 +0100
patch 9.1.0078: GTK3: using wrong style for pre-edit area
Problem: GTK3: using wrong style for pre-edit area
Solution: remove the widget name, adjust css
(lilydjwg)
closes: #13972
Signed-off-by: lilydjwg <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/src/gui_xim.c b/src/gui_xim.c
index c124e8b71..345b3a493 100644
--- a/src/gui_xim.c
+++ b/src/gui_xim.c
@@ -325,7 +325,7 @@ im_preedit_window_open(void)
#if GTK_CHECK_VERSION(3,16,0)
{
GtkStyleContext * const context
- = gtk_widget_get_style_context(gui.drawarea);
+ = gtk_widget_get_style_context(preedit_label);
GtkCssProvider * const provider = gtk_css_provider_new();
gchar *css = NULL;
const char * const fontname
@@ -349,7 +349,7 @@ im_preedit_window_open(void)
fontsize_propval = g_strdup_printf("inherit");
css = g_strdup_printf(
- "widget#vim-gui-preedit-area {
"
+ "#vim-gui-preedit-area {
"
" font-family: %s,monospace;
"
" font-size: %s;
"
" color: #%.2lx%.2lx%.2lx;
"
diff --git a/src/version.c b/src/version.c
index 3e4102da9..99c74d0f8 100644
--- a/src/version.c
+++ b/src/version.c
@@ -704,6 +704,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 78,
/**/
77,
/**/
--
--
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/E1rXIFQ-00GgsB-Sy%40256bit.org.