window: Remove some leftover event code

This commit is contained in:
Timm Bäder 2019-08-01 16:26:43 +02:00
parent 109df77d87
commit b2e94f81cf

View File

@ -1470,16 +1470,8 @@ drag_gesture_begin_cb (GtkGestureDrag *gesture,
gdouble y,
GtkWindow *window)
{
GdkEventSequence *sequence;
GtkWindowRegion region;
gboolean widget_drag = FALSE;
const GdkEvent *event;
sequence = gtk_gesture_single_get_current_sequence (GTK_GESTURE_SINGLE (gesture));
event = gtk_gesture_get_last_event (GTK_GESTURE (gesture), sequence);
if (!event)
return;
region = get_active_region_type (window, x, y);