From 9d72986d1e150d00ac6eef94c022e1216148ec1c Mon Sep 17 00:00:00 2001 From: Zdenek Dohnal Date: Feb 24 2017 18:46:01 +0000 Subject: removing vim-8.0-gtk-render.patch --- diff --git a/vim-8.0-gtk3-render.patch b/vim-8.0-gtk3-render.patch deleted file mode 100644 index b2fc237..0000000 --- a/vim-8.0-gtk3-render.patch +++ /dev/null @@ -1,31 +0,0 @@ -diff -up vim80/src/gui_gtk_x11.c.gtk3-render vim80/src/gui_gtk_x11.c ---- vim80/src/gui_gtk_x11.c.gtk3-render 2017-02-22 10:38:37.935193240 +0100 -+++ vim80/src/gui_gtk_x11.c 2017-02-22 10:53:22.847435530 +0100 -@@ -688,8 +688,13 @@ draw_event(GtkWidget *widget UNUSED, - { - const cairo_rectangle_t rect = list->rectangles[i]; - -- gui_mch_clear_block(Y_2_ROW(rect.y), 1, -- Y_2_ROW(rect.y + rect.height - 1), Columns); -+ gui_mch_clear_block(Y_2_ROW((int)rect.y), 0, -+ Y_2_ROW((int)(rect.y + rect.height)) - 1, Columns - 1); -+ } -+ -+ for (i = 0; i < list->num_rectangles; i++) -+ { -+ const cairo_rectangle_t rect = list->rectangles[i]; - - if (blink_mode) - gui_gtk3_redraw(rect.x, rect.y, rect.width, rect.height); -@@ -6723,6 +6728,11 @@ gui_mch_clear_block(int row1, int col1, - color.pixel = gui.back_pixel; - #endif - -+ col1 = check_col(col1); -+ col2 = check_col(col2); -+ row1 = check_row(row1); -+ row2 = check_row(row2); -+ - #if GTK_CHECK_VERSION(3,0,0) - { - /* Add one pixel to the far right column in case a double-stroked diff --git a/vim.spec b/vim.spec index b74bce8..05685bb 100644 --- a/vim.spec +++ b/vim.spec @@ -765,6 +765,7 @@ rm -rf %{buildroot} %changelog * Fri Feb 24 2017 Karsten Hopp 8.0.363-1 - patchlevel 363 +- removing vim-8.0-gtk-render.patch * Wed Feb 22 2017 Karsten Hopp 8.0.347-1 - patchlevel 347