# HG changeset patch # User Bram Moolenaar # Date 1647791103 -3600 # Node ID 0fa25a1b84511a8e26e3f5a59ab8142e2880af55 # Parent ae31388267e7b2cddcb2a3092407867752d27f84 patch 8.2.4599: GTK: get assertion errors when scrolling a split window Commit: https://github.com/vim/vim/commit/a4df834a92535cf124afd1c3b711b4a7109e3534 Author: Bram Moolenaar Date: Sun Mar 20 15:43:01 2022 +0000 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 https://github.com/vim/vim/issues/9982) diff --git a/src/gui_gtk.c b/src/gui_gtk.c --- a/src/gui_gtk.c +++ b/src/gui_gtk.c @@ -1107,7 +1107,7 @@ adjustment_value_changed(GtkAdjustment * { 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 --- a/src/version.c +++ b/src/version.c @@ -751,6 +751,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 4599, +/**/ 4598, /**/ 4597,