summarylogtreecommitdiffstats
path: root/force-x11.patch
diff options
context:
space:
mode:
authorthisirs2021-04-18 17:29:00 +0200
committerthisirs2021-04-18 17:29:00 +0200
commit36cf30f0c236937c4188aa16962e8120b47fad92 (patch)
tree31136d5339660cf53a88be96db195a26ab42a908 /force-x11.patch
parentb52ce835a855e8614fab7133bb9dc9d8d6b580fb (diff)
downloadaur-synology-cloud-station-drive.tar.gz
Add Wayland compatibility (thanks @evybongers)
Diffstat (limited to 'force-x11.patch')
-rw-r--r--force-x11.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/force-x11.patch b/force-x11.patch
new file mode 100644
index 000000000000..e509d2973a2b
--- /dev/null
+++ b/force-x11.patch
@@ -0,0 +1,14 @@
+diff --git a/synology-cloud-station-drive b/synology-cloud-station-drive
+index cdf04b7..9c291d3 100755
+--- a/usr/bin/synology-cloud-station-drive
++++ b/usr/bin/synology-cloud-station-drive
+@@ -59,7 +59,7 @@ gracefull_stop_service()
+
+ start()
+ {
+- env "LD_LIBRARY_PATH=$LIB_PATH" "$BIN_PATH" &
++ env QT_QPA_PLATFORM=xcb "LD_LIBRARY_PATH=$LIB_PATH" "$BIN_PATH" &
+ }
+
+ stop()
+