Peter_Kümmel wrote: > I prefer to handle all the geometry stuff > in start so please try the attached patch
Just move qApp->setMainWidget(&view); out of the if-block... (No need for the "else" then.) Angus Index: qt3/lyx_gui.C =================================================================== --- qt3/lyx_gui.C (revision 14122) +++ qt3/lyx_gui.C (working copy) @@ -235,9 +235,12 @@ view.init(); if (posx != -1 && posy != -1) { + qApp->setMainWidget(&view); view.setGeometry(posx, posy, width, height); if (maximize) view.setWindowState(Qt::WindowMaximized); + } else { + qApp->setMainWidget(&view); } view.show();