commit | a4df834a92535cf124afd1c3b711b4a7109e3534 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Mar 20 15:43:01 2022 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Mar 20 15:43:01 2022 +0000 |
tree | c32815382c16c9665ef06cb2cabf6a0dfde77752 | |
parent | 7e0be3ea211748a77d32cb1d3d35ecfc246cf0f2 [diff] [blame] |
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)
diff --git a/src/gui_gtk.c b/src/gui_gtk.c index 08290a5..0b98fd4 100644 --- a/src/gui_gtk.c +++ b/src/gui_gtk.c
@@ -1107,7 +1107,7 @@ { dragging = TRUE; - if (sb->wp != NULL) + if (sb->wp != NULL && GDK_IS_DRAWABLE(sb->id->window)) { int x; int y;