Problem: Dragging the scrollbar does not trigger WinScrolled
Solution: Refocus the GUI which triggers WinScrolled autocmd
(Christoffer Aasted).
closes: #20517
Signed-off-by: Christoffer Aasted <dezzadk@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
// Keep the "dragged_wp" value until after the scrolling, for when the
// mouse button is released. GTK2 doesn't send the button-up event.
gui.dragged_wp = NULL;
+ // WinScrolled event
+ gui_focus_change(TRUE);
#endif
}
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 660,
/**/
659,
/**/