From a4df834a92535cf124afd1c3b711b4a7109e3534 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sun, 20 Mar 2022 15:43:01 +0000 Subject: [PATCH] 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) --- src/gui_gtk.c | 2 +- src/version.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gui_gtk.c b/src/gui_gtk.c index 08290a56f4..0b98fd49e3 100644 --- a/src/gui_gtk.c +++ b/src/gui_gtk.c @@ -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; diff --git a/src/version.c b/src/version.c index 1e02a5844c..0a6c036231 100644 --- a/src/version.c +++ b/src/version.c @@ -750,6 +750,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 4599, /**/ 4598, /**/