mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
backends: Add private getter for the MetaInputSettings
We will need to fetch information from it at certain places.
This commit is contained in:
parent
77b33a86b8
commit
73958aeb59
@ -34,6 +34,7 @@
|
||||
#include <meta/meta-idle-monitor.h>
|
||||
#include "meta-cursor-renderer.h"
|
||||
#include "meta-monitor-manager-private.h"
|
||||
#include "meta-input-settings-private.h"
|
||||
#include "backends/meta-pointer-constraint.h"
|
||||
#include "backends/meta-renderer.h"
|
||||
#include "core/util-private.h"
|
||||
@ -146,4 +147,6 @@ void meta_backend_monitors_changed (MetaBackend *backend);
|
||||
|
||||
gboolean meta_is_stage_views_enabled (void);
|
||||
|
||||
MetaInputSettings *meta_backend_get_input_settings (MetaBackend *backend);
|
||||
|
||||
#endif /* META_BACKEND_PRIVATE_H */
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user