[clutter-gtk] gtk-clutter-util: Use the GDK display when using the GDK backend
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter-gtk] gtk-clutter-util: Use the GDK display when using the GDK backend
- Date: Wed, 16 Apr 2014 18:04:38 +0000 (UTC)
commit e56061bd8ac3ee39edd41907d0f6785ce40c1add
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Wed Apr 16 13:23:47 2014 -0400
gtk-clutter-util: Use the GDK display when using the GDK backend
This is what the post-parse hook does.
https://bugzilla.gnome.org/show_bug.cgi?id=695737
clutter-gtk/gtk-clutter-util.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/clutter-gtk/gtk-clutter-util.c b/clutter-gtk/gtk-clutter-util.c
index 609fdc2..b7b7676 100644
--- a/clutter-gtk/gtk-clutter-util.c
+++ b/clutter-gtk/gtk-clutter-util.c
@@ -183,7 +183,11 @@ gtk_clutter_init (int *argc,
#if defined(CLUTTER_WINDOWING_GDK)
if (clutter_check_windowing_backend (CLUTTER_WINDOWING_GDK))
- clutter_gdk_disable_event_retrieval ();
+ {
+ clutter_gdk_set_display (gdk_display_get_default ());
+
+ clutter_gdk_disable_event_retrieval ();
+ }
#endif
#if defined(GDK_WINDOWING_X11) && defined(CLUTTER_WINDOWING_X11)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]