Reverted the handling of mouse move events, now the slider widget should be highlighted correctly again.

svn-id: r35667
This commit is contained in:
Johannes Schickel 2009-01-02 03:03:06 +00:00
parent 1b41a49fc5
commit 4ec7876972

View file

@ -294,10 +294,7 @@ void Dialog::handleMouseMoved(int x, int y, int button) {
_mouseWidget = w;
}
// We only sent mouse move events under the following conditions:
// 1) We have a widget in drag mode
// 2) The widget wants to track the mouse movement
w = _dragWidget;
// We only sent mouse move events when the widget requests to be informed about them.
if (w && (w->getFlags() & WIDGET_TRACK_MOUSE))
w->handleMouseMoved(x - (w->getAbsX() - _x), y - (w->getAbsY() - _y), button);
}