]> khamidou — GitHub mirrors - electron.git/commit
Fix window state events on Windows
authorEran Tiktin <eran.t@mce-sys.com>
Mon, 28 Sep 2015 23:20:09 +0000 (02:20 +0300)
committerEran Tiktin <eran.t@mce-sys.com>
Mon, 28 Sep 2015 23:20:09 +0000 (02:20 +0300)
commitee0f0f6cfcd41f3f70399922bec08d1f109317ed
tree70eb57571fbbdf78ae4f15335f031ef70d924008
parent7f1cb9f90ab4ad334ceecf72ea1b9a933fc9b163
Fix window state events on Windows

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.
atom/browser/native_window_views.cc
atom/browser/native_window_views.h