]> git.lyx.org Git - lyx.git/blobdiff - src/lyx_gui.C
Dekel's patch -- I didn't fix the xforms-0.88 keysyms stuff so it still doesn't finis...
[lyx.git] / src / lyx_gui.C
index 1a731b82c87d5cbaebaa632264439d3f3d529d5a..55daaf72f6259fe8df2970060b9117f0e0d0161a 100644 (file)
@@ -63,7 +63,6 @@ FD_form_preamble * fd_form_preamble;
 FD_form_table * fd_form_table;
 FD_form_sendto * fd_form_sendto;
 FD_form_figure * fd_form_figure;
-FD_form_screen * fd_form_screen;
 FD_LaTeXLog * fd_latex_log; // from log_form.h
 Combox * combo_language;
 Combox * combo_language2;
@@ -525,11 +524,6 @@ void LyXGUI::create_forms()
                            CancelCloseBoxCB, 0);
        fl_set_button(fd_form_figure->radio_postscript, 1);
 
-       // the screen form
-       fd_form_screen = create_form_form_screen();
-       fl_set_form_atclose(fd_form_screen->form_screen,
-                           CancelCloseBoxCB, 0);
-
        // the latex log form
        fd_latex_log = create_form_LaTeXLog();
        fl_set_form_atclose(fd_latex_log->LaTeXLog,
@@ -581,7 +575,7 @@ void LyXGUI::runTime()
                kapp->processEvents();
 #endif
 #ifdef GTKGUI
-               Gnome::Main::instance()->iteration(FALSE);
+               while(Gnome::Main::instance()->events_pending()) Gnome::Main::instance()->iteration(FALSE);
 #endif
                
                if (fl_check_forms() == FL_EVENT) {