mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
fix: improved event flow management related to 'will-resize' event on Windows (#15695)
This commit is contained in:
committed by
Jeremy Apthorp
parent
0242818f39
commit
6f116eeaa4
@@ -194,6 +194,7 @@ bool NativeWindowViews::PreHandleMSG(UINT message,
|
||||
if (prevent_default) {
|
||||
::GetWindowRect(GetAcceleratedWidget(),
|
||||
reinterpret_cast<RECT*>(l_param));
|
||||
return true; // Tells Windows that the Sizing is handled.
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user