[mutter] backend: Create the cursor renderer after the monitor manager



commit 5b17c72047e0dd12e5a9aa5d84e8dd7f7acddc2d
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Thu May 15 14:13:39 2014 -0400

    backend: Create the cursor renderer after the monitor manager
    
    The native cursor renderer needs to connect to the monitor manager's
    signals.

 src/backends/meta-backend.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/backends/meta-backend.c b/src/backends/meta-backend.c
index 3fb8aa9..0c2ae65 100644
--- a/src/backends/meta-backend.c
+++ b/src/backends/meta-backend.c
@@ -72,8 +72,8 @@ meta_backend_real_post_init (MetaBackend *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->cursor_renderer = META_BACKEND_GET_CLASS (backend)->create_cursor_renderer (backend);
 }
 
 static MetaCursorRenderer *


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]