Commit 130cdb2d authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Revert "msw(Win32): properly terminate vlc when SC_CLOSE received"

This reverts commit 7b18ec43.
This broke LibVLC and wall.
parent 031a6dc1
......@@ -33,7 +33,6 @@
#include <vlc_common.h>
#include <vlc_vout_display.h>
#include <vlc_vout_window.h>
#include <vlc_interface.h>
#include <windows.h>
#include <windowsx.h>
......@@ -747,15 +746,6 @@ static long FAR PASCAL DirectXEventProc( HWND hwnd, UINT message,
}
vout_display_t *vd = p_event->vd;
/* Close requested by user */
if( message == WM_SYSCOMMAND &&
(wParam & 0xFFF0) == SC_CLOSE )
{
msg_Dbg( vd, "SC_CLOSE received, leaving vlc" );
libvlc_Quit( vd->p_libvlc );
return 0;
}
#ifndef UNDER_CE
/* Catch the screensaver and the monitor turn-off */
if( message == WM_SYSCOMMAND &&
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment