changeset 14638:067aeec2d1e7 v8.1.0332

patch 8.1.0332: get Gdk-Critical error on first balloon show commit https://github.com/vim/vim/commit/a449a7c6b986b8f5b28c61b8f628e69ed43ca030 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Aug 28 23:09:07 2018 +0200 patch 8.1.0332: get Gdk-Critical error on first balloon show Problem: Get Gdk-Critical error on first balloon show. Solution: Get screen geometry using the draw area widget. (Davit Samvelyan, closes #3386)
author Christian Brabandt <cb@256bit.org>
date Tue, 28 Aug 2018 23:15:05 +0200
parents 0ecb909e3249
children eff715961dc5
files src/gui_beval.c src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/gui_beval.c
+++ b/src/gui_beval.c
@@ -958,7 +958,7 @@ drawBalloon(BalloonEval *beval)
 	screen = gtk_widget_get_screen(beval->target);
 	gtk_window_set_screen(GTK_WINDOW(beval->balloonShell), screen);
 # endif
-	gui_gtk_get_screen_geom_of_win(beval->balloonShell,
+	gui_gtk_get_screen_geom_of_win(beval->target,
 				    &screen_x, &screen_y, &screen_w, &screen_h);
 # if !GTK_CHECK_VERSION(3,0,0)
 	gtk_widget_ensure_style(beval->balloonShell);
--- a/src/version.c
+++ b/src/version.c
@@ -795,6 +795,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    332,
+/**/
     331,
 /**/
     330,