Windows: Don't start a drag when it's a resize
There were a few pixels where you could click where, very near the border where it would start a drag while it shouldn't. The drag state machine then was in an invalid state which could lead to a crash. Fixes issue #110
This commit is contained in:
@@ -262,6 +262,7 @@ bool WidgetResizeHandler::handleWindowsNativeEvent(FloatingWindow *w, const QByt
|
||||
}
|
||||
}
|
||||
|
||||
w->setLastHitTest(*result);
|
||||
return *result != 0;
|
||||
} else if (msg->message == WM_NCLBUTTONDBLCLK) {
|
||||
if ((Config::self().flags() & Config::Flag_DoubleClickMaximizes)) {
|
||||
|
||||
Reference in New Issue
Block a user