]> khamidou — GitHub mirrors - electron.git/commit
linux: GlobalMenu: only if UBUNTU_MENUPROXY is set
authorMatthieu Baerts <matttbe@gmail.com>
Sun, 12 Oct 2014 19:16:32 +0000 (21:16 +0200)
committerMatthieu Baerts <matttbe@gmail.com>
Sun, 12 Oct 2014 19:16:32 +0000 (21:16 +0200)
commit7cd4d35778ff484558ae649a96a3a945914d431d
tree96f7d32d226642b41fd677b48834bdad5333a6f4
parentddf4f14dba69d95802071a58e4a144802cad68f3
linux: GlobalMenu: only if UBUNTU_MENUPROXY is set

When checking if we should react differently when GlobalMenu bar is
used, we should check if UBUNTU_MENUPROXY env var is (correctly) set
instead of checking if we're using Unity on a Unity session.

It's better to do that because we can use Compiz on a Unity session
without Unity. Or we can also use Unity in a different session.
atom/browser/native_window_views.cc