diff --git a/clutter/cogl/clutter-stage-cogl.c b/clutter/cogl/clutter-stage-cogl.c index a39c03e0d..111605ec7 100644 --- a/clutter/cogl/clutter-stage-cogl.c +++ b/clutter/cogl/clutter-stage-cogl.c @@ -124,7 +124,7 @@ clutter_stage_cogl_realize (ClutterStageWindow *stage_window) #ifdef COGL_HAS_XLIB_SUPPORT if (stage_x11->xwin != None) { - cogl_onscreen_x11_set_foreign_window_xid (stage_cogl->onscreen, + cogl_x11_onscreen_set_foreign_window_xid (stage_cogl->onscreen, stage_x11->xwin, _clutter_stage_x11_update_foreign_event_mask, stage_x11); @@ -160,7 +160,7 @@ clutter_stage_cogl_realize (ClutterStageWindow *stage_window) #ifdef COGL_HAS_XLIB_SUPPORT if (stage_x11->xwin == None) - stage_x11->xwin = cogl_onscreen_x11_get_window_xid (stage_cogl->onscreen); + stage_x11->xwin = cogl_x11_onscreen_get_window_xid (stage_cogl->onscreen); return clutter_stage_window_parent_iface->realize (stage_window); #else