summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-03-30 22:39:22 +0200
committerraveit65 <[email protected]>2017-03-30 22:40:14 +0200
commit06b9ba3dfbbb4e882bee81232b8aa09e556e7315 (patch)
treece86fe919de6311a4949089afaa66370898a1ba0
parent31090c4cf14c9c15d5e47c601d71db9d1b8cca63 (diff)
downloadpluma-06b9ba3dfbbb4e882bee81232b8aa09e556e7315.tar.bz2
pluma-06b9ba3dfbbb4e882bee81232b8aa09e556e7315.tar.xz
fix running under wayland
fixes https://bugzilla.redhat.com/show_bug.cgi?id=1387496
-rw-r--r--pluma/pluma.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pluma/pluma.c b/pluma/pluma.c
index 6f12a051..05af17cd 100644
--- a/pluma/pluma.c
+++ b/pluma/pluma.c
@@ -518,6 +518,8 @@ main (int argc, char *argv[])
bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");
textdomain (GETTEXT_PACKAGE);
+ gdk_set_allowed_backends ("x11");
+
startup_timestamp = get_startup_timestamp();
/* Setup command line options */