[MPlayer-cvslog] r20673 - trunk/libvo/w32_common.c

reimar subversion at mplayerhq.hu
Sat Nov 4 22:44:53 CET 2006


Author: reimar
Date: Sat Nov  4 22:44:53 2006
New Revision: 20673

Modified:
   trunk/libvo/w32_common.c

Log:
Hack around Windows focus problem with -vo gl


Modified: trunk/libvo/w32_common.c
==============================================================================
--- trunk/libvo/w32_common.c	(original)
+++ trunk/libvo/w32_common.c	Sat Nov  4 22:44:53 2006
@@ -261,6 +261,11 @@
         vo_dheight = prev_height;
         vo_dx = prev_x;
         vo_dy = prev_y;
+        // HACK around what probably is a windows focus bug:
+        // when pressing 'f' on the console, then 'f' again to
+        // return to windowed mode, any input into the video
+        // window is lost forever.
+        SetFocus(vo_window);
     }
     r.left = vo_dx;
     r.right = r.left + vo_dwidth;



More information about the MPlayer-cvslog mailing list