mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
patch 8.2.3632: GTK3: undercurl does not get removed properly
Problem: GTK3: undercurl does not get removed properly. Solution: Set the cairo cursor first. (closes #9170)
This commit is contained in:
parent
c8a9fe541d
commit
9cd9385db7
@ -5425,7 +5425,8 @@ draw_under(int flags, int row, int col, int cells)
|
|||||||
cairo_set_source_rgba(cr,
|
cairo_set_source_rgba(cr,
|
||||||
gui.spcolor->red, gui.spcolor->green, gui.spcolor->blue,
|
gui.spcolor->red, gui.spcolor->green, gui.spcolor->blue,
|
||||||
gui.spcolor->alpha);
|
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];
|
offset = val[i % 8];
|
||||||
cairo_line_to(cr, i, y - offset + 0.5);
|
cairo_line_to(cr, i, y - offset + 0.5);
|
||||||
|
@ -757,6 +757,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
3632,
|
||||||
/**/
|
/**/
|
||||||
3631,
|
3631,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user