]> khamidou — GitHub mirrors - electron.git/commit
gtk: Ask whether window is active from WM.
authorCheng Zhao <zcbenz@gmail.com>
Thu, 20 Mar 2014 09:44:08 +0000 (17:44 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Thu, 20 Mar 2014 09:47:38 +0000 (17:47 +0800)
commit35229255bb4dafaced955d012c1d46202960c4b8
treec2dfb0331c73526b00373d0d6f519cdf480662eb
parentf4b648385c1d9c408db200dd0e536b10b81dc806
gtk: Ask whether window is active from WM.

It could happpen that the WM thinks a window is active but it's actually not,
like when showing a context menu. In most cases we should follow what WM
says to keep consistent bevaviour on all platforms.
atom/browser/native_window_gtk.cc
atom/browser/native_window_gtk.h