backend: Remove support for META_DUMMY_MONITORS variable

Forcing a dummy monitor manager is unexpected and has been broken
since commit 315a6f43d.

https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1213
This commit is contained in:
Florian Müllner 2020-04-23 21:01:43 +02:00
parent c4535fdf85
commit 43e12dab7b

View File

@ -809,9 +809,6 @@ static MetaMonitorManager *
meta_backend_create_monitor_manager (MetaBackend *backend, meta_backend_create_monitor_manager (MetaBackend *backend,
GError **error) GError **error)
{ {
if (g_getenv ("META_DUMMY_MONITORS"))
return g_object_new (META_TYPE_MONITOR_MANAGER_DUMMY, NULL);
return META_BACKEND_GET_CLASS (backend)->create_monitor_manager (backend, return META_BACKEND_GET_CLASS (backend)->create_monitor_manager (backend,
error); error);
} }