fullscreen segv fix, popup for 4opts preview, renderfarm print fix, pan widget upgrad...
[goodguy/cinelerra.git] / cinelerra-5.1 / cinelerra / zwindowgui.C
index bada162..9657b57 100644 (file)
@@ -98,13 +98,13 @@ int ZWindowGUI::keypress_event()
        int result = 1;
        switch( key ) {
        case 'f':
-               if( mwindow->session->zwindow_fullscreen )
+               if( canvas->get_fullscreen() )
                        canvas->stop_fullscreen();
                else
                        canvas->start_fullscreen();
                break;
        case ESC:
-               if( mwindow->session->zwindow_fullscreen )
+               if( canvas->get_fullscreen() )
                        canvas->stop_fullscreen();
                break;
        default:
@@ -246,13 +246,3 @@ void ZWindowCanvas::draw_refresh(int flush)
                cvs->flash(flush);
 }
 
-int ZWindowCanvas::get_fullscreen()
-{
-       return mwindow->session->zwindow_fullscreen;
-}
-
-void ZWindowCanvas::set_fullscreen(int value)
-{
-       mwindow->session->zwindow_fullscreen = value;
-}
-