if ( !wxAppBase::Initialize(argc_, argv_) )
return false;
+ // disable Ubuntu "overlay scrollbar" until we figure out how to keep it
+ // from messing up our window contents when scrolling, see ticket #14871
+ wxSetEnv(wxS("LIBOVERLAY_SCROLLBAR"), wxS("0"));
+
#if wxUSE_THREADS
if (!g_thread_supported())
{
// XDG_CURRENT_DESKTOP env var being set to "Unity".
wxString proxy;
s_isUsingGlobalMenu = wxGetEnv("UBUNTU_MENUPROXY", &proxy) &&
- !proxy.empty();
+ !proxy.empty() && proxy != "0";
}
return s_isUsingGlobalMenu == 1;