forked from AuroraMiddleware/gtk
window: Fix an event widget/target mixup
This makes dragging inside a GtkEntry in the window decoration work again.
This commit is contained in:
parent
a89e88fc3e
commit
33162eee1a
@ -1619,7 +1619,7 @@ drag_gesture_update_cb (GtkGestureDrag *gesture,
|
||||
|
||||
sequence = gtk_gesture_single_get_current_sequence (GTK_GESTURE_SINGLE (gesture));
|
||||
event = gtk_gesture_get_last_event (GTK_GESTURE (gesture), sequence);
|
||||
event_widget = gtk_get_event_widget ((GdkEvent *) event);
|
||||
event_widget = gtk_get_event_target (event);
|
||||
|
||||
/* Check whether the target widget should be left alone at handling
|
||||
* the sequence, this is better done late to give room for gestures
|
||||
|
Loading…
Reference in New Issue
Block a user