mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
backends: Drop meta_cursor_renderer_get_position()
This is now unused. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1403
This commit is contained in:
parent
4398d63566
commit
543d232b51
@ -456,18 +456,6 @@ meta_cursor_renderer_set_position (MetaCursorRenderer *renderer,
|
|||||||
meta_cursor_renderer_update_cursor (renderer, priv->displayed_cursor);
|
meta_cursor_renderer_update_cursor (renderer, priv->displayed_cursor);
|
||||||
}
|
}
|
||||||
|
|
||||||
graphene_point_t
|
|
||||||
meta_cursor_renderer_get_position (MetaCursorRenderer *renderer)
|
|
||||||
{
|
|
||||||
MetaCursorRendererPrivate *priv =
|
|
||||||
meta_cursor_renderer_get_instance_private (renderer);
|
|
||||||
|
|
||||||
return (graphene_point_t) {
|
|
||||||
.x = priv->current_x,
|
|
||||||
.y = priv->current_y
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
MetaCursorSprite *
|
MetaCursorSprite *
|
||||||
meta_cursor_renderer_get_cursor (MetaCursorRenderer *renderer)
|
meta_cursor_renderer_get_cursor (MetaCursorRenderer *renderer)
|
||||||
{
|
{
|
||||||
|
@ -63,7 +63,6 @@ void meta_cursor_renderer_set_cursor (MetaCursorRenderer *renderer,
|
|||||||
void meta_cursor_renderer_set_position (MetaCursorRenderer *renderer,
|
void meta_cursor_renderer_set_position (MetaCursorRenderer *renderer,
|
||||||
float x,
|
float x,
|
||||||
float y);
|
float y);
|
||||||
graphene_point_t meta_cursor_renderer_get_position (MetaCursorRenderer *renderer);
|
|
||||||
void meta_cursor_renderer_force_update (MetaCursorRenderer *renderer);
|
void meta_cursor_renderer_force_update (MetaCursorRenderer *renderer);
|
||||||
|
|
||||||
MetaCursorSprite * meta_cursor_renderer_get_cursor (MetaCursorRenderer *renderer);
|
MetaCursorSprite * meta_cursor_renderer_get_cursor (MetaCursorRenderer *renderer);
|
||||||
|
Loading…
Reference in New Issue
Block a user