1
0
forked from aniani/vim

patch 8.2.4599: GTK: get assertion errors when scrolling a split window

Problem:    GTK: get assertion errors when scrolling a split window.
Solution:   Use GDK_IS_DRAWABLE() on the scrollbar window. (closes #9982)
This commit is contained in:
Bram Moolenaar
2022-03-20 15:43:01 +00:00
parent 7e0be3ea21
commit a4df834a92
2 changed files with 3 additions and 1 deletions

View File

@@ -1107,7 +1107,7 @@ adjustment_value_changed(GtkAdjustment *adjustment, gpointer data)
{
dragging = TRUE;
if (sb->wp != NULL)
if (sb->wp != NULL && GDK_IS_DRAWABLE(sb->id->window))
{
int x;
int y;

View File

@@ -750,6 +750,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
4599,
/**/
4598,
/**/