mirror of
https://github.com/electron/electron.git
synced 2026-01-26 15:58:07 -05:00
This commit fixes the issue we had with window state events not firing when triggered through Aero Snap. Instead of listening to command from the system menu (SC_MAXIMIZE etc.), we use the WM_SIZE event. This resolves #1381.