diff options
-rw-r--r-- | eel/eel-canvas.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/eel/eel-canvas.c b/eel/eel-canvas.c index 97aad908..4f040074 100644 --- a/eel/eel-canvas.c +++ b/eel/eel-canvas.c @@ -2877,9 +2877,11 @@ eel_canvas_button (GtkWidget *widget, GdkEventButton *event) /* Pick the current item as if the button were not pressed, and * then process the event. */ + event->state ^= mask; canvas->state = event->state; pick_current_item (canvas, (GdkEvent *) event); - canvas->state ^= mask; + event->state ^= mask; + canvas->state = event->state; retval = emit_event (canvas, (GdkEvent *) event); break; |