The WM isn't aware of O-R (popup) or offscreen windows. If somebody
maps an offscreen or a popup GTK+ window before the main window, we'll
complete the sequence before a "real" window is mapped. Make sure to
ignore these for startup notifies.
gdk_window_show (gdk_window);
- if (!disable_startup_notification)
+ if (!disable_startup_notification &&
+ !GTK_IS_OFFSCREEN_WINDOW (window) &&
+ priv->type != GTK_WINDOW_POPUP)
{
/* Do we have a custom startup-notification id? */
if (priv->startup_id != NULL)