backend: Expose get_monitor_manager() publicly
So that it can eventually replace the standalone singleton getter. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/2128>
This commit is contained in:
parent
5afe51b143
commit
65d8164833
@ -122,8 +122,6 @@ MetaIdleMonitor * meta_backend_get_idle_monitor (MetaBackend *backend,
|
|||||||
|
|
||||||
MetaIdleManager * meta_backend_get_idle_manager (MetaBackend *backend);
|
MetaIdleManager * meta_backend_get_idle_manager (MetaBackend *backend);
|
||||||
|
|
||||||
META_EXPORT_TEST
|
|
||||||
MetaMonitorManager * meta_backend_get_monitor_manager (MetaBackend *backend);
|
|
||||||
META_EXPORT_TEST
|
META_EXPORT_TEST
|
||||||
MetaOrientationManager * meta_backend_get_orientation_manager (MetaBackend *backend);
|
MetaOrientationManager * meta_backend_get_orientation_manager (MetaBackend *backend);
|
||||||
MetaCursorTracker * meta_backend_get_cursor_tracker (MetaBackend *backend);
|
MetaCursorTracker * meta_backend_get_cursor_tracker (MetaBackend *backend);
|
||||||
|
@ -1185,7 +1185,9 @@ meta_backend_get_idle_manager (MetaBackend *backend)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* meta_backend_get_monitor_manager: (skip)
|
* meta_backend_get_monitor_manager:
|
||||||
|
*
|
||||||
|
* Returns: (transfer none): A #MetaMonitorManager
|
||||||
*/
|
*/
|
||||||
MetaMonitorManager *
|
MetaMonitorManager *
|
||||||
meta_backend_get_monitor_manager (MetaBackend *backend)
|
meta_backend_get_monitor_manager (MetaBackend *backend)
|
||||||
|
@ -30,6 +30,7 @@
|
|||||||
#include "clutter/clutter.h"
|
#include "clutter/clutter.h"
|
||||||
#include "meta/meta-dnd.h"
|
#include "meta/meta-dnd.h"
|
||||||
#include "meta/meta-idle-monitor.h"
|
#include "meta/meta-idle-monitor.h"
|
||||||
|
#include "meta/meta-monitor-manager.h"
|
||||||
#include "meta/meta-remote-access-controller.h"
|
#include "meta/meta-remote-access-controller.h"
|
||||||
|
|
||||||
#define META_TYPE_BACKEND (meta_backend_get_type ())
|
#define META_TYPE_BACKEND (meta_backend_get_type ())
|
||||||
@ -64,6 +65,9 @@ MetaSettings *meta_backend_get_settings (MetaBackend *backend);
|
|||||||
META_EXPORT
|
META_EXPORT
|
||||||
MetaIdleMonitor * meta_backend_get_core_idle_monitor (MetaBackend *backend);
|
MetaIdleMonitor * meta_backend_get_core_idle_monitor (MetaBackend *backend);
|
||||||
|
|
||||||
|
META_EXPORT
|
||||||
|
MetaMonitorManager * meta_backend_get_monitor_manager (MetaBackend *backend);
|
||||||
|
|
||||||
META_EXPORT
|
META_EXPORT
|
||||||
MetaRemoteAccessController * meta_backend_get_remote_access_controller (MetaBackend *backend);
|
MetaRemoteAccessController * meta_backend_get_remote_access_controller (MetaBackend *backend);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user