To: vim_dev@googlegroups.com Subject: Patch 8.2.3632 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@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 ///