MetaBackend: Move fields from MetaBackend into MetaBackendPrivate

Lets prepare for being able to declare the MetaBackend type using
the macro helper.

https://bugzilla.gnome.org/show_bug.cgi?id=777732
This commit is contained in:
Jonas Ådahl
2016-12-01 16:15:16 +08:00
parent 2df4ebff47
commit d644993a74
4 changed files with 66 additions and 31 deletions

View File

@ -154,7 +154,8 @@ constrain_to_client_constraint (ClutterInputDevice *device,
float *y)
{
MetaBackend *backend = meta_get_backend ();
MetaPointerConstraint *constraint = backend->client_pointer_constraint;
MetaPointerConstraint *constraint =
meta_backend_get_client_pointer_constraint (backend);
if (!constraint)
return;