From b40ca9b60a24f90e6b732f3904fe0544703dde6b Mon Sep 17 00:00:00 2001 From: scrawl Date: Wed, 22 Feb 2017 01:49:54 +0100 Subject: [PATCH] Set the window rectangle on the Viewer's EventQueue --- apps/openmw/engine.cpp | 2 ++ 1 file changed, 2 insertions(+) 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()