[Mplayer-cvslog] CVS: main/libvo vo_directx.c,1.28,1.29

Sascha Sommer CVS syncmail at mplayerhq.hu
Tue Apr 13 15:33:05 CEST 2004


CVS change done by Sascha Sommer CVS

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

Modified Files:
	vo_directx.c 
Log Message:
ignore mouseclicks when activating the window

Index: vo_directx.c
===================================================================
RCS file: /cvsroot/mplayer/main/libvo/vo_directx.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- vo_directx.c	7 Apr 2004 22:51:42 -0000	1.28
+++ vo_directx.c	13 Apr 2004 13:33:03 -0000	1.29
@@ -1,6 +1,6 @@
 /******************************************************************************
  * vo_directx.c: Directx v2 or later DirectDraw interface for MPlayer
- * Copyright (c) 2002 Sascha Sommer <saschasommer at freenet.de>.
+ * Copyright (c) 2002 - 2004 Sascha Sommer <saschasommer at freenet.de>.
  *
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -835,6 +835,8 @@
 {
 	switch (message)
     {
+        case WM_MOUSEACTIVATE:
+            return MA_ACTIVATEANDEAT;       
 	    case WM_NCACTIVATE:
         {
             if(vidmode && adapter_count > 2) //only disable if more than one adapter.




More information about the MPlayer-cvslog mailing list