summaryrefslogtreecommitdiff
path: root/pasystray/debian/patches/0002-Require-X11-backend.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pasystray/debian/patches/0002-Require-X11-backend.patch')
-rw-r--r--pasystray/debian/patches/0002-Require-X11-backend.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/pasystray/debian/patches/0002-Require-X11-backend.patch b/pasystray/debian/patches/0002-Require-X11-backend.patch
new file mode 100644
index 0000000..083c98f
--- /dev/null
+++ b/pasystray/debian/patches/0002-Require-X11-backend.patch
@@ -0,0 +1,19 @@
+From: Scott Leggett <scott@sl.id.au>
+Date: Mon, 29 Oct 2018 22:40:16 +1100
+Subject: Require X11 backend
+Forwarded: not-needed
+
+---
+ src/pasystray.c | 1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/src/pasystray.c
++++ b/src/pasystray.c
+@@ -38,6 +38,7 @@ static menu_infos_t* mis;
+
+ int main(int argc, char *argv[])
+ {
++ gdk_set_allowed_backends ("x11");
+ GOptionEntry* options = get_options();
+ GError *error = NULL;
+ gtk_init_with_args(&argc, &argv, NULL, options, NULL, &error);
bgstack15