]> git.sesse.net Git - vlc/commitdiff
Mac OS X: Make "Force Quit" works the first time it is triggered.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 3 Mar 2007 15:51:43 +0000 (15:51 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 3 Mar 2007 15:51:43 +0000 (15:51 +0000)
src/vlc.c

index 4d61b1ca03ca19c1d38551d137a6538d9bb3545c..c41b1a24c0ec4e2c0eecb280200e00a6601a010d 100644 (file)
--- a/src/vlc.c
+++ b/src/vlc.c
@@ -202,6 +202,11 @@ static void *SigHandler (void *data)
     time_t abort_time = 0;
     vlc_bool_t b_die = VLC_FALSE;
 
+#ifdef __APPLE__
+    /* We really prefer the "force quit" menu item to act immediately */
+    b_die = VLC_TRUE;
+#endif
+
     for (;;)
     {
         int i_signal, state;