summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYamagi <yamagi@yamagi.org>2021-11-20 20:42:29 +0000
committerBram Moolenaar <Bram@vim.org>2021-11-20 20:42:29 +0000
commit9cd9385db7d1d2b2dc38a511d121e366a5dae511 (patch)
treeedeb0dd0e81daf981ca8c59b96a8305f51fe9e67
parentc8a9fe541d3bee36d2760ed156997ddbb0142ee1 (diff)
patch 8.2.3632: GTK3: undercurl does not get removed properlyv8.2.3632
Problem: GTK3: undercurl does not get removed properly. Solution: Set the cairo cursor first. (closes #9170)
-rw-r--r--src/gui_gtk_x11.c3
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/gui_gtk_x11.c b/src/gui_gtk_x11.c
index 3ad1a623e5..6135657fa2 100644
--- a/src/gui_gtk_x11.c
+++ b/src/gui_gtk_x11.c
@@ -5425,7 +5425,8 @@ draw_under(int flags, int row, int col, int cells)
cairo_set_source_rgba(cr,
gui.spcolor->red, gui.spcolor->green, gui.spcolor->blue,
gui.spcolor->alpha);
- for (i = FILL_X(col); i < FILL_X(col + cells); ++i)
+ cairo_move_to(cr, FILL_X(col) + 1, y - 2 + 0.5);
+ for (i = FILL_X(col) + 1; i < FILL_X(col + cells); ++i)
{
offset = val[i % 8];
cairo_line_to(cr, i, y - offset + 0.5);
diff --git a/src/version.c b/src/version.c
index 79eb94fa41..8eca0877d5 100644
--- a/src/version.c
+++ b/src/version.c
@@ -758,6 +758,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 3632,
+/**/
3631,
/**/
3630,