s_need_activate = FALSE;
}
+#ifdef FEAT_NETBEANS_INTG
+ /* Process the queued netbeans messages. */
+ netbeans_parse_messages();
+#endif
+
/*
* Don't use gui_mch_update() because then we will spin-lock until a
* char arrives, instead we use GetMessage() to hang until an
return; /* don't try to parse it */
}
-#ifdef FEAT_GUI_GTK
+#if defined(FEAT_GUI_GTK) || defined(FEAT_GUI_W32)
+ /* Let the main loop handle messages. */
+# ifdef FEAT_GUI_GTK
if (gtk_main_level() > 0)
gtk_main_quit();
+# endif
#else
- /* Parse the messages, but avoid recursion. */
+ /* Parse the messages now, but avoid recursion. */
if (level == 1)
netbeans_parse_messages();