scrolledwindow: remove a leftover event type check
We want the capture_button_press function to capture touch begin events as well.
This commit is contained in:
@@ -2693,9 +2693,6 @@ gtk_scrolled_window_captured_button_press (GtkWidget *widget,
|
||||
gdouble x_root, y_root;
|
||||
guint button;
|
||||
|
||||
if (event->type != GDK_BUTTON_PRESS)
|
||||
return FALSE;
|
||||
|
||||
/* If scrollbars are not visible, we don't do kinetic scrolling */
|
||||
if (!priv->vscrollbar_visible && !priv->hscrollbar_visible)
|
||||
return FALSE;
|
||||
|
||||
Reference in New Issue
Block a user