Browse Source

Mixer: Handle WM main window close event just like Quit menu comment (confirm save).

tags/non-daw-v1.1.0
Jonathan Moore Liles 14 years ago
parent
commit
1d25063d11
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      mixer/src/main.C

+ 4
- 2
mixer/src/main.C View File

@@ -77,8 +77,10 @@ ensure_dirs ( void )

static void cb_main ( Fl_Double_Window *o, void *)
{
if ( Fl::event_key() != FL_Escape )
o->hide();
if ( Fl::event() == FL_SHORTCUT && Fl::event_key() == FL_Escape )
return;

mixer->command_quit();
}

int


Loading…
Cancel
Save