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:
@@ -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;
|
||||
|
@@ -750,6 +750,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
4599,
|
||||
/**/
|
||||
4598,
|
||||
/**/
|
||||
|
Reference in New Issue
Block a user