Hello community, here is the log from the commit of package vim for openSUSE:Factory checked in at 2016-11-15 17:53:28 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/vim (Old) and /work/SRC/openSUSE:Factory/.vim.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "vim" Changes: -------- --- /work/SRC/openSUSE:Factory/vim/vim.changes 2016-10-22 13:02:33.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.vim.new/vim.changes 2016-11-15 17:53:30.000000000 +0100 @@ -1,0 +2,6 @@ +Mon Nov 7 12:51:19 UTC 2016 - [email protected] + +- Add bsc-1008800.patch to fix gvim rendering with recent gtk+ + update. Fixes bsc#1008800. Patch by Jan Alexander Steffens. + +------------------------------------------------------------------- New: ---- bsc-1008800.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ vim.spec ++++++ --- /var/tmp/diff_new_pack.FmOtom/_old 2016-11-15 17:53:31.000000000 +0100 +++ /var/tmp/diff_new_pack.FmOtom/_new 2016-11-15 17:53:31.000000000 +0100 @@ -92,6 +92,7 @@ Patch18: %{name}-7.3-filetype_spec.patch Patch21: %{name}-7.3-filetype_changes.patch Patch22: %{name}-7.4-filetype_mine.patch +Patch23: bsc-1008800.patch Patch100: vim73-no-static-libpython.patch %description @@ -166,6 +167,7 @@ %patch18 -p1 %patch21 -p1 %patch22 -p1 +%patch23 -p1 %patch100 -p1 cp %{SOURCE3} %{SOURCE4} %{SOURCE5} %{SOURCE8} %{SOURCE10} . ++++++ bsc-1008800.patch ++++++ Index: vim-8.0.0045/src/gui_gtk_x11.c =================================================================== --- vim-8.0.0045.orig/src/gui_gtk_x11.c +++ vim-8.0.0045/src/gui_gtk_x11.c @@ -3099,6 +3099,9 @@ drawarea_configure_event_cb(GtkWidget if (event->width == cur_width && event->height == cur_height) return TRUE; + if (!gtk_check_version(3, 22, 2) && event->send_event == FALSE) + return TRUE; + cur_width = event->width; cur_height = event->height; @@ -4429,6 +4432,10 @@ form_configure_event(GtkWidget *widget U { int usable_height = event->height; + if (!gtk_check_version(3, 22, 2) && + event->window != gtk_widget_get_window(gui.formwin)) + return TRUE; + /* When in a GtkPlug, we can't guarantee valid heights (as a round * no. of char-heights), so we have to manually sanitise them. * Widths seem to sort themselves out, don't ask me why.
