summaryrefslogtreecommitdiffstats
path: root/indicator-keylock-3.1.0-x11.patch
diff options
context:
space:
mode:
Diffstat (limited to 'indicator-keylock-3.1.0-x11.patch')
-rw-r--r--indicator-keylock-3.1.0-x11.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/indicator-keylock-3.1.0-x11.patch b/indicator-keylock-3.1.0-x11.patch
new file mode 100644
index 0000000..381f4fb
--- /dev/null
+++ b/indicator-keylock-3.1.0-x11.patch
@@ -0,0 +1,11 @@
+diff -up indicator-keylock-3.1.0/src/main.c.orig indicator-keylock-3.1.0/src/main.c
+--- indicator-keylock-3.1.0/src/main.c.orig 2022-01-05 19:22:23.381405852 -0500
++++ indicator-keylock-3.1.0/src/main.c 2022-01-05 19:23:54.855658436 -0500
+@@ -181,6 +181,7 @@ UniqueResponse on_self_unique_app_messag
+ }
+
+ int main(int argc, char *argv[]) {
++ gdk_set_allowed_backends("x11");
+ gtk_init_with_args(&argc, &argv, _("Indicator/Status Icon for keyboard lock keys"), NULL, NULL, NULL);
+ self_random = g_rand_new();
+ self_gtk_app = gtk_application_new("org.desktop.indicator-keylock", 0);