[MPlayer-cvslog] r19903 - trunk/Gui/win32/gui.c

vayne subversion at mplayerhq.hu
Tue Sep 19 01:05:57 CEST 2006


Author: vayne
Date: Tue Sep 19 01:05:57 2006
New Revision: 19903

Modified:
   trunk/Gui/win32/gui.c

Log:
fix for disabling screensaver when in fullscreen mode while using the sub window.

Modified: trunk/Gui/win32/gui.c
==============================================================================
--- trunk/Gui/win32/gui.c	(original)
+++ trunk/Gui/win32/gui.c	Tue Sep 19 01:05:57 2006
@@ -601,6 +601,17 @@
             SetForegroundWindow(hWnd);
             return 0;
         }
+        case WM_SYSCOMMAND:
+        {
+            switch(wParam)
+            {
+                case SC_SCREENSAVE:
+                case SC_MONITORPOWER:
+                    mp_msg(MSGT_VO, MSGL_V ,"<vo_directx><INFO>killing screensaver\n" );
+                    return 0;
+            }
+            break;
+        }
         case WM_PAINT:
         {
             PAINTSTRUCT ps;
@@ -722,17 +733,6 @@
         case WM_CHAR:
             mplayer_put_key(wParam);
             break;
-        case WM_SYSCOMMAND:
-        {
-            switch(wParam)
-            {
-                case SC_SCREENSAVE:
-                case SC_MONITORPOWER:
-                    mp_msg(MSGT_VO, MSGL_V ,"<vo_directx><INFO>killing screensaver\n" );
-                    return 0;
-            }
-            break;
-        }
         case WM_COPYDATA:
         {
             if(lParam)



More information about the MPlayer-cvslog mailing list