[gnome-maps] application: Force the X11 clutter backend.
- From: Marcus Lundblad <mlundblad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps] application: Force the X11 clutter backend.
- Date: Fri, 29 May 2015 11:31:18 +0000 (UTC)
commit 178b3cb7230804dbcf01da81dbd43751581ab223
Author: Marcus Lundblad <ml update uu se>
Date: Thu May 28 21:41:55 2015 +0200
application: Force the X11 clutter backend.
https://bugzilla.gnome.org/show_bug.cgi?id=750059
src/application.js | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/application.js b/src/application.js
index 375633f..c6a6b59 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;
@@ -172,6 +173,8 @@ const Application = new Lang.Class({
vfunc_startup: function() {
this.parent();
+ // work-around for the Nvidia proprietary driver not coping with the GDK Clutter backend
+ Clutter.set_windowing_backend('x11');
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]