Mercurial > mplayer.hg
changeset 12192:d16b2d48edd0
ignore mouseclicks when activating the window
author | faust3 |
---|---|
date | Tue, 13 Apr 2004 13:33:03 +0000 |
parents | 60a5e538baf9 |
children | 574f7747d26f |
files | libvo/vo_directx.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 <saschasommer@freenet.de>. + * Copyright (c) 2002 - 2004 Sascha Sommer <saschasommer@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.