From e871f02a6874dc6704c8ea70fc6e8c28dae9182e Mon Sep 17 00:00:00 2001 From: Paul Cornett Date: Thu, 6 Dec 2012 05:33:43 +0000 Subject: [PATCH] disable Ubuntu "overlay scrollbar", see #14871 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/app.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gtk/app.cpp b/src/gtk/app.cpp index 3754531c01..7aba0eab72 100644 --- a/src/gtk/app.cpp +++ b/src/gtk/app.cpp @@ -288,6 +288,10 @@ bool wxApp::Initialize(int& argc_, wxChar **argv_) 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()) { -- 2.45.2