summaryrefslogtreecommitdiffstats
path: root/libvo
diff options
context:
space:
mode:
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
{