[Pkg-privacy-commits] [tails-installer] 03/05: Set graphics system to native to avoid blank windows when X server runs under user (not root) (rhbz#1212180)
anonym
anonym-tails-guest at moszumanska.debian.org
Thu Jan 12 15:15:25 UTC 2017
This is an automated email from the git hooks/post-receive script.
anonym-tails-guest pushed a commit to annotated tag 3.14.1
in repository tails-installer.
commit 589eb5550e8c50df1cac947bc016f9236766007a
Author: Jaroslav Reznik <jreznik at redhat.com>
Date: Mon May 25 15:59:09 2015 +0200
Set graphics system to native to avoid blank windows when X server
runs under user (not root) (rhbz#1212180)
---
liveusb/gui.py | 3 +++
1 file changed, 3 insertions(+)
diff --git a/liveusb/gui.py b/liveusb/gui.py
index cdac8cd..fb58089 100755
--- a/liveusb/gui.py
+++ b/liveusb/gui.py
@@ -56,6 +56,9 @@ MAX_EXT = 2097152
class LiveUSBApp(QtGui.QApplication):
""" Main application class """
def __init__(self, opts, args):
+ if sys.platform[:5] == 'linux':
+ QtGui.QApplication.setGraphicsSystem('native')
+
QtGui.QApplication.__init__(self, args)
self.mywindow = LiveUSBWindow(opts, args)
self.mywindow.show()
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/tails-installer.git
More information about the Pkg-privacy-commits
mailing list