summaryrefslogtreecommitdiff
path: root/src/guichan/widgets/window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/guichan/widgets/window.cpp')
-rw-r--r--src/guichan/widgets/window.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/guichan/widgets/window.cpp b/src/guichan/widgets/window.cpp
index feb337828..e541ef242 100644
--- a/src/guichan/widgets/window.cpp
+++ b/src/guichan/widgets/window.cpp
@@ -65,6 +65,8 @@ namespace gcn
mTitleBarHeight(16),
mMovable(true),
mOpaque(true),
+ mDragOffsetX(0),
+ mDragOffsetY(0),
mMoved(false)
{
mFrameSize = 1;
@@ -80,6 +82,8 @@ namespace gcn
mTitleBarHeight(16),
mMovable(true),
mOpaque(true),
+ mDragOffsetX(0),
+ mDragOffsetY(0),
mMoved(false)
{
mFrameSize = 1;