summaryrefslogtreecommitdiff
path: root/src/gui/widgets/window.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-06-18 21:59:34 +0300
committerAndrei Karas <akaras@inbox.ru>2013-06-18 21:59:34 +0300
commit3680f3b35afd65a936ce4c603d5460ced8df1ef0 (patch)
tree4b929da1dc4bcbdaef8e956bd81fd9a8da6d4743 /src/gui/widgets/window.cpp
parent0778877b4af281b259ff9efb304ffae147fd1729 (diff)
downloadplus-3680f3b35afd65a936ce4c603d5460ced8df1ef0.tar.gz
plus-3680f3b35afd65a936ce4c603d5460ced8df1ef0.tar.bz2
plus-3680f3b35afd65a936ce4c603d5460ced8df1ef0.tar.xz
plus-3680f3b35afd65a936ce4c603d5460ced8df1ef0.zip
dont show resize cursor if item is dragging.
Diffstat (limited to 'src/gui/widgets/window.cpp')
-rw-r--r--src/gui/widgets/window.cpp4
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.