[gnome-maps] application: Prefer X11 and Wayland backends over GDK
- From: Jonas Danielsson <jonasdn src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps] application: Prefer X11 and Wayland backends over GDK
- Date: Thu, 11 Feb 2016 17:21:01 +0000 (UTC)
commit 7e5678d8ad7c5ef9d387ee38103534a0a375f4fd
Author: Jonas Danielsson <jonas threetimestwo org>
Date: Tue Feb 9 21:29:15 2016 +0100
application: Prefer X11 and Wayland backends over GDK
This seems to play better with clutter-gtk and makes
a bug where bits of popovers where left on map dissapear.
https://bugzilla.gnome.org/show_bug.cgi?id=758350
src/application.js | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/application.js b/src/application.js
index 8dd7b1e..aad5fd0 100644
--- a/src/application.js
+++ b/src/application.js
@@ -20,6 +20,7 @@
* Zeeshan Ali (Khattak) <zeeshanak gnome org>
*/
+const Clutter = imports.gi.Clutter;
const GLib = imports.gi.GLib;
const GObject = imports.gi.GObject;
const Gio = imports.gi.Gio;
@@ -209,6 +210,7 @@ const Application = new Lang.Class({
vfunc_startup: function() {
this.parent();
+ Clutter.set_windowing_backend('x11,wayland,*');
GtkClutter.init(null);
Utils.loadStyleSheet(Gio.file_new_for_uri('resource:///org/gnome/Maps/application.css'));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]