int guess_width, guess_height;
putty_inst = inst;
- flags = FLAG_VERBOSE | FLAG_WINDOWED | FLAG_CONNECTION;
+ flags = FLAG_VERBOSE | FLAG_INTERACTIVE;
winsock_ver = MAKEWORD(1, 1);
if (WSAStartup(winsock_ver, &wsadata)) {
*/
static void enact_pending_netevent(void) {
int i;
+ static int reentering = 0;
+
+ if (reentering)
+ return; /* don't unpend the pending */
+
pending_netevent = FALSE;
+
+ reentering = 1;
i = back->msg (pend_netevent_wParam, pend_netevent_lParam);
+ reentering = 0;
if (i < 0) {
char buf[1024];
static int ignore_keymenu = TRUE;
static int just_reconfigged = FALSE;
- if (message != 275)
- debug(("msg=%d wParam=%08x lParam=%08x\r\n", message, wParam, lParam));
-
switch (message) {
case WM_TIMER:
if (pending_netevent)