diff options
author | haawda | 2021-12-18 00:04:40 +0100 |
---|---|---|
committer | haawda | 2021-12-18 00:04:40 +0100 |
commit | 5d1437f987ff2257c574c91b29b068606043801e (patch) | |
tree | a7542dfe675736b675562d583e032836606e8f40 /remove_nouveau_exception.patch | |
parent | 07cabf37332b3ed815abd77fbfdae8292cc4753d (diff) | |
download | aur-webmacs-git.tar.gz |
Switch to another github repo, repome patch and add another one
Diffstat (limited to 'remove_nouveau_exception.patch')
-rw-r--r-- | remove_nouveau_exception.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/remove_nouveau_exception.patch b/remove_nouveau_exception.patch new file mode 100644 index 000000000000..2b4cce0f6016 --- /dev/null +++ b/remove_nouveau_exception.patch @@ -0,0 +1,22 @@ +diff --git a/webmacs/application.py b/webmacs/application.py +index d83c9bc..b71d655 100644 +--- a/webmacs/application.py ++++ b/webmacs/application.py +@@ -122,17 +122,5 @@ class Application(QApplication): + self.__class__.INSTANCE = self + self.instance_name = instance_name + +- if (version.opengl_vendor() == 'nouveau' and +- not (os.environ.get('LIBGL_ALWAYS_SOFTWARE') == '1' +- or 'QT_XCB_FORCE_SOFTWARE_OPENGL' in os.environ)): +- sys.exit( +- "You are using the nouveau graphics driver but it" +- " has issues with multithreaded opengl. You must" +- " use another driver or set the variable environment" +- " QT_XCB_FORCE_SOFTWARE_OPENGL to force software" +- " opengl. Note that it might be slow, depending" +- " on your hardware." +- ) +- + if version.is_mac: + self.setAttribute(Qt.AA_MacDontSwapCtrlAndMeta) |