1
0
Fork 0

source/Display/Display.cpp: Need to set position to 0,0 in window fullscreen, otherwise it wont stick to the top-left of the monitor.

This commit is contained in:
Henrik Hautakoski 2022-09-13 19:52:34 +02:00
parent 1c27fce58c
commit deb9918b9b

View file

@ -120,6 +120,7 @@ void Display::setVideoMode(Mode mode)
DisplayMode desktop = DisplayMode::getDesktopMode();
m_impl->setDecoration(DisplayDecorate::None);
m_impl->setSize(desktop.width, desktop.height);
m_impl->setPosition(0, 0);
}
// Window mode.
else {