diff --git a/apps/openmw/engine.cpp b/apps/openmw/engine.cpp index d54eed3a6..61923af27 100644 --- a/apps/openmw/engine.cpp +++ b/apps/openmw/engine.cpp @@ -402,6 +402,8 @@ void OMW::Engine::createWindow(Settings::Manager& settings) camera->setViewport(0, 0, width, height); mViewer->realize(); + + mViewer->getEventQueue()->getCurrentEventState()->setWindowRectangle(0, 0, width, height); } void OMW::Engine::setWindowIcon()