summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2017-03-30 22:39:22 +0200
committermonsta <[email protected]>2017-04-04 18:05:14 +0300
commit67be02bfb2cfbf63c1e60b32c225fae1e5cc12db (patch)
tree62a02f6c12f605df9d9d32620c078929cef38d7d
parent910aec06b34eed2aacbdf4f138f1ba38605c249a (diff)
downloadpluma-67be02bfb2cfbf63c1e60b32c225fae1e5cc12db.tar.bz2
pluma-67be02bfb2cfbf63c1e60b32c225fae1e5cc12db.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 */