summaryrefslogtreecommitdiff
path: root/src/window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.cpp')
-rw-r--r--src/window.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/window.cpp b/src/window.cpp
index 3e601d212..4dca8403a 100644
--- a/src/window.cpp
+++ b/src/window.cpp
@@ -1366,10 +1366,7 @@ void ResetWindowSystem()
{
UnInitWindowSystem();
InitWindowSystem();
- _thd.pos.x = 0;
- _thd.pos.y = 0;
- _thd.new_pos.x = 0;
- _thd.new_pos.y = 0;
+ _thd.Reset();
}
static void DecreaseWindowCounters()