diff options
-rw-r--r-- | src/idocalendarmenuitem.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/idocalendarmenuitem.c b/src/idocalendarmenuitem.c index bb4ccca..40d96a1 100644 --- a/src/idocalendarmenuitem.c +++ b/src/idocalendarmenuitem.c @@ -233,6 +233,9 @@ ido_calendar_menu_item_button_press (GtkWidget *widget, GTK_WIDGET_GET_CLASS(calendar)->button_press_event(GTK_WIDGET(calendar), (GdkEventButton*)newevent); } } + + ((GdkEventButton *)newevent)->window = event->window; + gdk_event_free(newevent); #endif return TRUE; |