forked from github_mirror/framelesshelper
Minor tweaks.
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
This commit is contained in:
parent
0b3972643d
commit
04d0e568b0
|
@ -1449,7 +1449,7 @@ bool WinNativeEventFilter::nativeEventFilter(const QByteArray &eventType,
|
|||
#endif
|
||||
const bool isResizePermitted =
|
||||
!isInIgnoreAreas && !isInIgnoreObjects;
|
||||
const bool isTitleBar = (mouse.y <= tbh) &&
|
||||
const bool isTitleBar = (mouse.y <= (tbh + bh)) &&
|
||||
isInDraggableAreas && isInDraggableObjects &&
|
||||
isResizePermitted && !_data.disableTitleBar;
|
||||
if (IsMaximized(_hWnd)) {
|
||||
|
|
Loading…
Reference in New Issue