summarylogtreecommitdiffstats
path: root/wayland.patch
diff options
context:
space:
mode:
authorTony Lambiris2019-09-10 13:45:45 -0400
committerTony Lambiris2019-09-10 13:45:45 -0400
commit6791db41ed7c350de9fa19c02922d601628479e4 (patch)
treeab19f46230df49eaa1de8ed7e59c92d019c79c54 /wayland.patch
parent2bb3aa1e6dd227284fba69c90c0619de8dd424ea (diff)
downloadaur-6791db41ed7c350de9fa19c02922d601628479e4.tar.gz
Update for firmware-manager support
Diffstat (limited to 'wayland.patch')
-rw-r--r--wayland.patch14
1 files changed, 0 insertions, 14 deletions
diff --git a/wayland.patch b/wayland.patch
index 23cba76b33a8..7e8ba8fa72d5 100644
--- a/wayland.patch
+++ b/wayland.patch
@@ -11,17 +11,3 @@
+if [ "$XDG_SESSION_TYPE" == "wayland" ] && command -v xhost; then
+ xhost -si:localuser:root
+fi
-diff -Naur system76-driver-18.10.2/system76-firmware-pkexec system76-driver-18.10.2.patched/system76-firmware-pkexec
---- a/system76-firmware-pkexec 2018-10-18 14:55:38.000000000 -0400
-+++ b/system76-firmware-pkexec 2018-11-05 21:00:02.253796899 -0500
-@@ -1,2 +1,10 @@
- #!/bin/sh
-+if [ "$XDG_SESSION_TYPE" == "wayland" ] && command -v xhost; then
-+ xhost +si:localuser:root
-+fi
-+
- pkexec "/usr/bin/system76-firmware" --reinstall
-+
-+if [ "$XDG_SESSION_TYPE" == "wayland" ] && command -v xhost; then
-+ xhost -si:localuser:root
-+fi