remove incorrect checks
This commit is contained in:
parent
7a7f1ee711
commit
ca76dda6a6
1 changed files with 1 additions and 5 deletions
|
@ -166,11 +166,7 @@ bool NativeWindowViews::PreHandleMSG(
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
case WM_WINDOWPOSCHANGING: {
|
case WM_WINDOWPOSCHANGING: {
|
||||||
auto window_pos = reinterpret_cast<LPWINDOWPOS>(l_param);
|
return !CanResize();
|
||||||
if (window_pos->flags | SWP_FRAMECHANGED)
|
|
||||||
return !CanResize();
|
|
||||||
|
|
||||||
return false;
|
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue