aboutsummaryrefslogtreecommitdiffhomepage
path: root/libvo/vo_directx.c
diff options
context:
space:
mode:
Diffstat (limited to 'libvo/vo_directx.c')
-rw-r--r--libvo/vo_directx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libvo/vo_directx.c b/libvo/vo_directx.c
index 16a5db166a..4b9528464f 100644
--- a/libvo/vo_directx.c
+++ b/libvo/vo_directx.c
@@ -889,7 +889,7 @@ static LRESULT CALLBACK WndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM l
}
case WM_CLOSE:
{
- mp_input_queue_cmd(mp_input_parse_cmd("quit"));
+ mplayer_put_key(KEY_CLOSE_WIN);
return 0;
}
case WM_WINDOWPOSCHANGED: