backends: Add private getter for the MetaInputSettings

We will need to fetch information from it at certain places.
This commit is contained in:
Carlos Garnacho
2016-05-13 13:31:52 +02:00
parent 77b33a86b8
commit 73958aeb59
2 changed files with 11 additions and 0 deletions

View File

@ -764,3 +764,11 @@ meta_is_stage_views_enabled (void)
return strcmp (mutter_stage_views, "1") == 0;
}
MetaInputSettings *
meta_backend_get_input_settings (MetaBackend *backend)
{
MetaBackendPrivate *priv = meta_backend_get_instance_private (backend);
return priv->input_settings;
}