diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-06-18 21:59:34 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-06-18 21:59:34 +0300 |
commit | 3680f3b35afd65a936ce4c603d5460ced8df1ef0 (patch) | |
tree | 4b929da1dc4bcbdaef8e956bd81fd9a8da6d4743 | |
parent | 0778877b4af281b259ff9efb304ffae147fd1729 (diff) | |
download | manaverse-3680f3b35afd65a936ce4c603d5460ced8df1ef0.tar.gz manaverse-3680f3b35afd65a936ce4c603d5460ced8df1ef0.tar.bz2 manaverse-3680f3b35afd65a936ce4c603d5460ced8df1ef0.tar.xz manaverse-3680f3b35afd65a936ce4c603d5460ced8df1ef0.zip |
dont show resize cursor if item is dragging.
-rw-r--r-- | src/gui/widgets/window.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/widgets/window.cpp b/src/gui/widgets/window.cpp index 64b16b19a..4e921a287 100644 --- a/src/gui/widgets/window.cpp +++ b/src/gui/widgets/window.cpp @@ -24,6 +24,7 @@ #include "client.h" #include "configuration.h" +#include "dragdrop.h" #include "graphicsvertexes.h" #include "soundmanager.h" @@ -690,6 +691,9 @@ void Window::updateResizeHandler(gcn::MouseEvent &event) if (!gui) return; + if (!dragDrop.isEmpty()) + return; + mResizeHandles = getResizeHandles(event); // Changes the custom mouse cursor based on it's current position. |