diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-02-20 20:56:59 +0000 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2005-02-20 20:56:59 +0000 |
commit | 7ce021a8e4fce72af6e79cad22243bdd50bb8656 (patch) | |
tree | 06f9eadde06667d640f94e8ecc8b526a45af402d /src/gui/window.cpp | |
parent | 368c9002365118212d9ef9b6bb00f9148522770f (diff) | |
download | mana-client-7ce021a8e4fce72af6e79cad22243bdd50bb8656.tar.gz mana-client-7ce021a8e4fce72af6e79cad22243bdd50bb8656.tar.bz2 mana-client-7ce021a8e4fce72af6e79cad22243bdd50bb8656.tar.xz mana-client-7ce021a8e4fce72af6e79cad22243bdd50bb8656.zip |
Reverted changes to skill dialog, a new one will be developed alongside it so
that the current one remains working for now. Also XML maps now can load but
not the base64 or gzip kind yet.
Diffstat (limited to 'src/gui/window.cpp')
-rw-r--r-- | src/gui/window.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/window.cpp b/src/gui/window.cpp index c17e4c76..399cb73f 100644 --- a/src/gui/window.cpp +++ b/src/gui/window.cpp @@ -227,10 +227,12 @@ void Window::mouseMotion(int mx, int my) if (y + winHeight > screen->h) y = screen->h - winHeight; // Snap window to edges + /* if (x < snapSize) x = 0; if (y < snapSize) y = 0; if (x + winWidth + snapSize > screen->w) x = screen->w - winWidth; if (y + winHeight + snapSize > screen->h) y = screen->h - winHeight; + */ this->setPosition(x, y); } |