summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
authorfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-02-13 12:47:33 +0000
committerfaust3 <faust3@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-02-13 12:47:33 +0000
commite0484e940f0b49a654d9d03cb5e82312357feea7 (patch)
treeabd184c62ca83b849df407be6235852f50102096 /libvo
parent4694a7dde885485e2eee61a072c6b1db3697f591 (diff)
downloadmpv-e0484e940f0b49a654d9d03cb5e82312357feea7.tar.bz2
mpv-e0484e940f0b49a654d9d03cb5e82312357feea7.tar.xz
always take the focus in fullscreen mode patch by Gianluigi Tiesi <mplayer at netfarm.it>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14693 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libvo')
-rw-r--r--libvo/vo_directx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libvo/vo_directx.c b/libvo/vo_directx.c
index 904a5bd854..eacc90a688 100644
--- a/libvo/vo_directx.c
+++ b/libvo/vo_directx.c
@@ -1469,6 +1469,7 @@ static uint32_t control(uint32_t request, void *data, ...)
vo_fs=1;
ShowWindow(hWndFS,SW_SHOW);
ShowWindow(hWnd,SW_HIDE);
+ SetForegroundWindow(hWndFS);
}
else
{