Patch 8.2.3632

4 views
Skip to first unread message

Bram Moolenaar

unread,
Nov 20, 2021, 3:43:11 PM11/20/21
to vim...@googlegroups.com

Patch 8.2.3632
Problem: GTK3: undercurl does not get removed properly.
Solution: Set the cairo cursor first. (closes #9170)
Files: src/gui_gtk_x11.c


*** ../vim-8.2.3631/src/gui_gtk_x11.c 2021-11-16 20:03:50.855550911 +0000
--- src/gui_gtk_x11.c 2021-11-20 20:39:49.959873856 +0000
***************
*** 5425,5431 ****
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)
{
offset = val[i % 8];
cairo_line_to(cr, i, y - offset + 0.5);
--- 5425,5432 ----
cairo_set_source_rgba(cr,
gui.spcolor->red, gui.spcolor->green, gui.spcolor->blue,
gui.spcolor->alpha);
! 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);
*** ../vim-8.2.3631/src/version.c 2021-11-20 19:50:56.428908005 +0000
--- src/version.c 2021-11-20 20:30:46.665215007 +0000
***************
*** 759,760 ****
--- 759,762 ----
{ /* Add new patch number below this line */
+ /**/
+ 3632,
/**/

--
In Africa some of the native tribes have a custom of beating the ground
with clubs and uttering spine chilling cries. Anthropologists call
this a form of primitive self-expression. In America we call it golf.

/// Bram Moolenaar -- Br...@Moolenaar.net -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
Reply all
Reply to author
Forward
0 new messages