diff -Nur notification-daemon-0.2.1/src/PopupNotification.cc notification-daemon-0.2.1.new/src/PopupNotification.cc --- notification-daemon-0.2.1/src/PopupNotification.cc 2005-08-29 15:50:37.000000000 +0200 +++ notification-daemon-0.2.1.new/src/PopupNotification.cc 2005-08-29 15:51:00.000000000 +0200 @@ -222,6 +222,8 @@ gtk_widget_show(mSpacer); gtk_widget_realize(window); + while(gtk_events_pending()) + gtk_main_iteration(); GtkRequisition req; gtk_widget_size_request(window, &req);