summaryrefslogtreecommitdiff
path: root/src/gui/widgets/window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/widgets/window.cpp')
-rw-r--r--src/gui/widgets/window.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp
index de48dfa2..dde455e6 100644
--- a/src/gui/widgets/window.cpp
+++ b/src/gui/widgets/window.cpp
@@ -377,9 +377,7 @@ void Window::mouseReleased(gcn::MouseEvent &event)
void Window::mouseExited(gcn::MouseEvent &event)
{
if (mGrip && !mouseResize)
- {
gui->setCursorType(Gui::CURSOR_POINTER);
- }
}
void Window::mouseMoved(gcn::MouseEvent &event)
@@ -435,9 +433,7 @@ void Window::mouseDragged(gcn::MouseEvent &event)
std::max(mMinWinHeight, newHeight));
if (mouseResize & TOP)
- {
newDim.y -= newDim.height - getHeight();
- }
}
if (mouseResize & (LEFT | RIGHT))
@@ -447,9 +443,7 @@ void Window::mouseDragged(gcn::MouseEvent &event)
std::max(mMinWinWidth, newWidth));
if (mouseResize & LEFT)
- {
newDim.x -= newDim.width - getWidth();
- }
}
// Keep guichan window inside screen (supports resizing any side)