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:
parent
1c27fce58c
commit
deb9918b9b
1 changed files with 1 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue