From 0c8fe577d9c8510c0e8d40846888e90506b434f6 Mon Sep 17 00:00:00 2001 From: Chris Tallon Date: Sun, 17 Dec 2006 20:55:33 +0000 Subject: [PATCH] Win updates --- winmain.cc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/winmain.cc b/winmain.cc index 92982a6..af85f89 100644 --- a/winmain.cc +++ b/winmain.cc @@ -618,6 +618,8 @@ LONG FAR PASCAL WindowProc(HWND wind, UINT msg, WPARAM wparam, LPARAM lparam) if (wparam==SC_MAXIMIZE) { ToggleFullscreen(); return 0; + } else if (wparam==SC_SCREENSAVE || wparam==SC_MONITORPOWER) { + return 0; } else { return DefWindowProc(wind,msg,wparam, lparam); } -- 2.39.5