diff options
Diffstat (limited to 'eel/eel-canvas.c')
-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 0d9e8744..da39007c 100644 --- a/eel/eel-canvas.c +++ b/eel/eel-canvas.c @@ -3119,9 +3119,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; |