diff options
author | Bram Moolenaar <Bram@vim.org> | 2018-08-28 23:09:07 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2018-08-28 23:09:07 +0200 |
commit | a449a7c6b986b8f5b28c61b8f628e69ed43ca030 (patch) | |
tree | b10fa8c45a82f5c85aef1d0c33387c165c3b4379 /src | |
parent | fc65cabb15d0236bce001ad78e12a40511caf941 (diff) |
patch 8.1.0332: get Gdk-Critical error on first balloon showv8.1.0332
Problem: Get Gdk-Critical error on first balloon show.
Solution: Get screen geometry using the draw area widget. (Davit Samvelyan,
closes #3386)
Diffstat (limited to 'src')
-rw-r--r-- | src/gui_beval.c | 2 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/gui_beval.c b/src/gui_beval.c index 03216008e6..5e70d61bfa 100644 --- 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); diff --git a/src/version.c b/src/version.c index e2123eb9d5..243e213d2b 100644 --- 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, |