mirror of
https://github.com/electron/electron.git
synced 2026-01-29 01:08:18 -05:00
remove incorrect checks
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user