From 654cc39c7750bd7a8d798ab5c4732ed960135573 Mon Sep 17 00:00:00 2001 From: Ira Rice Date: Mon, 20 Apr 2009 22:06:05 +0200 Subject: Repaired table and listbox scrolling when using the keyboard. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Tametomo Signed-off-by: Bjørn Lindeijer --- src/gui/widgets/window.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/gui/widgets/window.cpp') 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) -- cgit v1.2.3-70-g09d2