[MPlayer-cvslog] CVS: main/libvo vo_winvidix.c,1.6,1.7

Sascha Sommer CVS syncmail at mplayerhq.hu
Fri Jun 3 07:16:04 CEST 2005


CVS change done by Sascha Sommer CVS

Update of /cvsroot/mplayer/main/libvo
In directory mail:/var2/tmp/cvs-serv19984/libvo

Modified Files:
	vo_winvidix.c 
Log Message:
regain window focus in fullscreen, patch by Erik Lunchpail <enik_27can at yahoo.com>

Index: vo_winvidix.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_winvidix.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -r1.6 -r1.7
--- vo_winvidix.c	18 Apr 2005 15:52:38 -0000	1.6
+++ vo_winvidix.c	3 Jun 2005 05:16:02 -0000	1.7
@@ -308,7 +308,7 @@
 static uint32_t control(uint32_t request, void *data, ...){
   switch (request) {
   case VOCTRL_FULLSCREEN:
-    if(!vo_fs){vo_fs=1;ShowWindow(hWndFS,SW_SHOW);}  
+    if(!vo_fs){vo_fs=1;ShowWindow(hWndFS,SW_SHOW);SetForegroundWindow(hWndFS);}  
     else {vo_fs=0; ShowWindow(hWndFS,SW_HIDE);}  
     break;
   case VOCTRL_QUERY_FORMAT:




More information about the MPlayer-cvslog mailing list