monitor-manager: Remove debugging META_DEBUG_MULTIMONITOR hook
It's outdated and incorrect: META_TYPE_MONITOR_MANAGER is now an abstract class.
This commit is contained in:
parent
d189ddcc86
commit
2d6bcf3885
@ -205,19 +205,7 @@ get_default_backend (void)
|
|||||||
static MetaMonitorManager *
|
static MetaMonitorManager *
|
||||||
meta_monitor_manager_new (void)
|
meta_monitor_manager_new (void)
|
||||||
{
|
{
|
||||||
const char *env;
|
return g_object_new (get_default_backend (), NULL);
|
||||||
GType type;
|
|
||||||
|
|
||||||
env = g_getenv ("META_DEBUG_MULTIMONITOR");
|
|
||||||
|
|
||||||
if (env == NULL)
|
|
||||||
type = get_default_backend ();
|
|
||||||
else if (strcmp (env, "xrandr") == 0)
|
|
||||||
type = META_TYPE_MONITOR_MANAGER_XRANDR;
|
|
||||||
else
|
|
||||||
type = META_TYPE_MONITOR_MANAGER;
|
|
||||||
|
|
||||||
return g_object_new (type, NULL);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user