diff --git a/src/frontends/Application.cpp b/src/frontends/Application.cpp index ec010f4df8..fdffa801da 100644 --- a/src/frontends/Application.cpp +++ b/src/frontends/Application.cpp @@ -51,7 +51,8 @@ LyXView & Application::createView(unsigned int width, theLyXFunc().setLyXView(&view); view.init(); - view.setGeometry(width, height, posx, posy, maximized, iconSizeXY, geometryArg); + view.setGeometry(width, height, posx, posy, LyXView::Maximized(maximized), + iconSizeXY, geometryArg); view.setFocus();