cursor-renderer: Pass backend to constructor

Then use the backend passed instead of the global singleton.

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1289
This commit is contained in:
Jonas Ådahl
2020-05-27 09:29:04 +02:00
committed by Georges Basile Stavracas Neto
parent 7876018755
commit 55302dbb38
7 changed files with 87 additions and 14 deletions

View File

@ -21,6 +21,8 @@
#ifndef META_BACKEND_TYPE_H
#define META_BACKEND_TYPE_H
typedef struct _MetaBackend MetaBackend;
typedef struct _MetaMonitorManager MetaMonitorManager;
typedef struct _MetaMonitorConfigManager MetaMonitorConfigManager;