Skip to content
Snippets Groups Projects
Commit d56fede1 authored by aacuevas's avatar aacuevas
Browse files

Fixed window drift on windows

parent 45d3e246
Branches
Tags
No related merge requests found
......@@ -174,7 +174,11 @@ void MainWindow::loadWindowBounds()
bool fs = e->getBoolAttribute("fullscreen");
// without the correction, you get drift over time
#ifdef WIN32
setTopLeftPosition(x,y); //Windows doesn't need correction
#else
setTopLeftPosition(x,y-27);
#endif
getContentComponent()->setBounds(0,0,w-10,h-33);
//setFullScreen(fs);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment