mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -04:00
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)
This commit is contained in:
parent
fc65cabb15
commit
a449a7c6b9
@ -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);
|
||||
|
@ -794,6 +794,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
332,
|
||||
/**/
|
||||
331,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user