backend: Create the cursor renderer after the monitor manager

The native cursor renderer needs to connect to the monitor manager's
signals.
This commit is contained in:
Jasper St. Pierre 2014-05-15 14:13:39 -04:00
parent 8d9653dece
commit 5b17c72047

View File

@ -72,8 +72,8 @@ meta_backend_real_post_init (MetaBackend *backend)
{ {
MetaBackendPrivate *priv = meta_backend_get_instance_private (backend); MetaBackendPrivate *priv = meta_backend_get_instance_private (backend);
priv->cursor_renderer = META_BACKEND_GET_CLASS (backend)->create_cursor_renderer (backend);
priv->monitor_manager = META_BACKEND_GET_CLASS (backend)->create_monitor_manager (backend); priv->monitor_manager = META_BACKEND_GET_CLASS (backend)->create_monitor_manager (backend);
priv->cursor_renderer = META_BACKEND_GET_CLASS (backend)->create_cursor_renderer (backend);
} }
static MetaCursorRenderer * static MetaCursorRenderer *