Allows again sliders as menuitems, broken by commit
9b032073.
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=786029
Bug-Ubuntu: https://launchpad.net/bugs/
1712701
Bug-Debian: https://bugs.debian.org/872687
Gbp-Pq: Name fix-gtk-menu-sliders.patch
group = gtk_window_get_group (GTK_WINDOW (toplevel));
grab = gtk_window_group_get_current_grab (group);
- if (GTK_MENU_SHELL (widget)->priv->active && !GTK_IS_MENU_SHELL (grab))
+ if (GTK_MENU_SHELL (widget)->priv->active && !GTK_IS_MENU_SHELL (grab) &&
+ !gtk_widget_is_ancestor (grab, widget))
gtk_menu_shell_cancel (GTK_MENU_SHELL (widget));
menu->priv->drag_scroll_started = FALSE;