[clutter] egl: fix args to cogl_onscreen_x11_set_foreign_window_xid
- From: Robert Bragg <rbragg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [clutter] egl: fix args to cogl_onscreen_x11_set_foreign_window_xid
- Date: Tue, 14 Jun 2011 19:44:06 +0000 (UTC)
commit 951cb82ec5e76a6e67b0cb7c2050d6ea5703d4ba
Author: Robert Bragg <robert linux intel com>
Date: Mon May 9 01:09:39 2011 +0100
egl: fix args to cogl_onscreen_x11_set_foreign_window_xid
We hadn't updated the egl backend inline with a change to the arguments
that cogl_onscreen_x11_set_foreign_window_xid would expect and that was
causing a compilation error.
clutter/egl/clutter-stage-egl.c | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
---
diff --git a/clutter/egl/clutter-stage-egl.c b/clutter/egl/clutter-stage-egl.c
index 887494e..1de7d4a 100644
--- a/clutter/egl/clutter-stage-egl.c
+++ b/clutter/egl/clutter-stage-egl.c
@@ -78,8 +78,14 @@ clutter_stage_egl_realize (ClutterStageWindow *stage_window)
width, height);
#ifdef COGL_HAS_XLIB_SUPPORT
if (stage_x11->xwin != None)
- cogl_onscreen_x11_set_foreign_window_xid (stage_egl->onscreen,
- stage_x11->xwin);
+ {
+ cogl_onscreen_x11_set_foreign_window_xid (
+ stage_egl->onscreen,
+ stage_x11->xwin,
+ _clutter_stage_x11_update_foreign_event_mask,
+ stage_x11);
+
+ }
#endif
clutter_vblank = _clutter_backend_egl_get_vblank ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]