summarylogtreecommitdiffstats
path: root/xdg_session_type.patch
diff options
context:
space:
mode:
authorMaksym Sheremet2019-03-05 21:32:46 +0200
committerMaksym Sheremet2019-03-05 21:32:46 +0200
commitaa31834bfa02d63e6e7e8b8e04bfa078d6ddd472 (patch)
tree9bd6bb5dff3390eeb2edd514f201933fcc34b8bd /xdg_session_type.patch
parent2a62b856f0c002729aaba0b9f89470ae416eb815 (diff)
downloadaur-aa31834bfa02d63e6e7e8b8e04bfa078d6ddd472.tar.gz
Fixed screenshot issue for WM's launched with xinit.
Diffstat (limited to 'xdg_session_type.patch')
-rw-r--r--xdg_session_type.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/xdg_session_type.patch b/xdg_session_type.patch
new file mode 100644
index 000000000000..f1d8e5a3aa9c
--- /dev/null
+++ b/xdg_session_type.patch
@@ -0,0 +1,12 @@
+--- src/usr/bin/upwork 2018-11-08 21:07:12.000000000 +0200
++++ upwork.patched 2019-03-05 20:42:12.082295838 +0200
+@@ -6,5 +6,9 @@
+ export XDG_CURRENT_DESKTOP=Unity
+ fi
+
++if [ $XDG_SESSION_TYPE == 'tty' ]; then
++ export XDG_SESSION_TYPE=x11
++fi
++
+ cd /usr/share/upwork
+ exec ./upwork "$@"