From b4d1f9623171b2e616e93ff9d04b02ac42833346 Mon Sep 17 00:00:00 2001 From: William McBrine Date: Mon, 19 Jun 2006 19:09:06 +0000 Subject: [PATCH] SetConsoleMode(ENABLE_WINDOW_INPUT) is not useful, and appears to be the source of a four-year-old bug report by Phil Smith. --- win32/pdcscrn.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/win32/pdcscrn.c b/win32/pdcscrn.c index 74ee087a..a11f236d 100644 --- a/win32/pdcscrn.c +++ b/win32/pdcscrn.c @@ -19,7 +19,7 @@ #define INCLUDE_WINDOWS_H #include -RCSID("$Id: pdcscrn.c,v 1.34 2006/03/29 20:06:41 wmcbrine Exp $"); +RCSID("$Id: pdcscrn.c,v 1.35 2006/06/19 19:09:06 wmcbrine Exp $"); #define PDC_RESTORE_NONE 0 #define PDC_RESTORE_BUFFER 1 @@ -531,7 +531,7 @@ int PDC_resize_screen(int nlines, int ncols) int PDC_reset_prog_mode(void) { - SetConsoleMode(hConIn, ENABLE_MOUSE_INPUT | ENABLE_WINDOW_INPUT); + SetConsoleMode(hConIn, ENABLE_MOUSE_INPUT); return OK; }