Minor improvement
Signed-off-by: Yuhang Zhao <2546789017@qq.com>
This commit is contained in:
parent
d12198a7bc
commit
fca63dbf54
|
@ -605,8 +605,7 @@ bool FramelessHelperWin::nativeEventFilter(const QByteArray &eventType, void *me
|
|||
const bool isRight = (localMouse.x() >= (ww - (bw * factor)));
|
||||
const bool fixedSize = Utilities::isWindowFixedSize(window);
|
||||
const auto getBorderValue = [fixedSize](int value) -> int {
|
||||
// HTBORDER: non-resizable window border.
|
||||
return fixedSize ? HTBORDER : value;
|
||||
return fixedSize ? HTCLIENT : value;
|
||||
};
|
||||
if (isTop) {
|
||||
if (isLeft) {
|
||||
|
|
Loading…
Reference in New Issue