remove incorrect checks

This commit is contained in:
Heilig Benedek 2017-11-12 07:31:59 +01:00
parent 7a7f1ee711
commit ca76dda6a6

View file

@ -166,11 +166,7 @@ bool NativeWindowViews::PreHandleMSG(
return false;
}
case WM_WINDOWPOSCHANGING: {
auto window_pos = reinterpret_cast<LPWINDOWPOS>(l_param);
if (window_pos->flags | SWP_FRAMECHANGED)
return !CanResize();
return false;
return !CanResize();
}
default:
return false;