summaryrefslogtreecommitdiff
path: root/src/leap/bitmask/app.py
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2016-04-14 18:01:28 -0400
committerKali Kaneko <kali@leap.se>2016-04-15 11:54:29 -0400
commit6e2e5e08dca279b6ea4f7835415a3900c28dfd84 (patch)
tree01d189e36acaff1c0870e2e4cc246d4481f51a1c /src/leap/bitmask/app.py
parenta6dca50aeded076fdac8548be0c8b94857301e01 (diff)
[bug] another workaround for the transparent window in wily
The previous "fix" attempt with QT_GRAPHICSSYSTEM=native apparently wasn't fixing the issue consistently. This extra env var works 100% of the times by my tests though. - Resolves: #8028
Diffstat (limited to 'src/leap/bitmask/app.py')
-rw-r--r--src/leap/bitmask/app.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/leap/bitmask/app.py b/src/leap/bitmask/app.py
index 2c41068c..9412ccd7 100644
--- a/src/leap/bitmask/app.py
+++ b/src/leap/bitmask/app.py
@@ -75,8 +75,9 @@ if platform.system() == "Darwin":
def qt_hack_ubuntu():
- """Export an env var to avoid gui corruption, see #8028"""
+ """Export two env vars to avoid gui corruption, see #8028"""
os.environ['QT_GRAPHICSSYSTEM'] = 'native'
+ os.environ['LIBOVERLAY_SCROLLBAR'] = '0'
def kill_the_children():