# HG changeset patch # User faust3 # Date 1081863183 0 # Node ID d16b2d48edd02bf14b38ed2b548e310459efd899 # Parent 60a5e538baf942ee10493e04480d843ec20fcafc ignore mouseclicks when activating the window diff -r 60a5e538baf9 -r d16b2d48edd0 libvo/vo_directx.c --- a/libvo/vo_directx.c Tue Apr 13 12:19:10 2004 +0000 +++ b/libvo/vo_directx.c Tue Apr 13 13:33:03 2004 +0000 @@ -1,6 +1,6 @@ /****************************************************************************** * vo_directx.c: Directx v2 or later DirectDraw interface for MPlayer - * Copyright (c) 2002 Sascha Sommer . + * Copyright (c) 2002 - 2004 Sascha Sommer . * * 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.