commit/XEmacs: stephen_at_xemacs: Work around gdk_events_pending lossage.