ClutterStageX11: Remove dead code

https://bugzilla.gnome.org/show_bug.cgi?id=768976
This commit is contained in:
Jonas Ådahl 2016-05-15 11:53:52 +08:00
parent 2c439dec75
commit f31d71ce63
2 changed files with 0 additions and 29 deletions

View File

@ -1531,29 +1531,3 @@ _clutter_stage_x11_set_user_time (ClutterStageX11 *stage_x11,
set_user_time (backend_x11, stage_x11, user_time);
}
gboolean
_clutter_stage_x11_get_root_coords (ClutterStageX11 *stage_x11,
gint *root_x,
gint *root_y)
{
ClutterStageCogl *stage_cogl = CLUTTER_STAGE_COGL (stage_x11);
ClutterBackendX11 *backend_x11 = CLUTTER_BACKEND_X11 (stage_cogl->backend);
gint return_val;
Window child;
gint tx, ty;
return_val = XTranslateCoordinates (backend_x11->xdpy,
stage_x11->xwin,
backend_x11->xwin_root,
0, 0, &tx, &ty,
&child);
if (root_x)
*root_x = tx;
if (root_y)
*root_y = ty;
return (return_val == 0);
}

View File

@ -85,9 +85,6 @@ void _clutter_stage_x11_events_device_changed (ClutterStageX11 *stage_x11,
/* Private to subclasses */
void _clutter_stage_x11_set_user_time (ClutterStageX11 *stage_x11,
guint32 user_time);
gboolean _clutter_stage_x11_get_root_coords (ClutterStageX11 *stage_x11,
gint *root_x,
gint *root_y);
G_END_DECLS