mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 17:40:40 -05:00
ClutterStageX11: Remove dead code
https://bugzilla.gnome.org/show_bug.cgi?id=768976
This commit is contained in:
parent
2c439dec75
commit
f31d71ce63
@ -1531,29 +1531,3 @@ _clutter_stage_x11_set_user_time (ClutterStageX11 *stage_x11,
|
|||||||
|
|
||||||
set_user_time (backend_x11, stage_x11, user_time);
|
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);
|
|
||||||
}
|
|
||||||
|
@ -85,9 +85,6 @@ void _clutter_stage_x11_events_device_changed (ClutterStageX11 *stage_x11,
|
|||||||
/* Private to subclasses */
|
/* Private to subclasses */
|
||||||
void _clutter_stage_x11_set_user_time (ClutterStageX11 *stage_x11,
|
void _clutter_stage_x11_set_user_time (ClutterStageX11 *stage_x11,
|
||||||
guint32 user_time);
|
guint32 user_time);
|
||||||
gboolean _clutter_stage_x11_get_root_coords (ClutterStageX11 *stage_x11,
|
|
||||||
gint *root_x,
|
|
||||||
gint *root_y);
|
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user