[mutter] display: Set the cursor theme on the backend display as well



commit a6f3534ff04250d5845e38ac5391a0823c929963
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Thu Apr 24 10:51:13 2014 -0400

    display: Set the cursor theme on the backend display as well

 src/core/display.c |    9 +++++++++
 1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/src/core/display.c b/src/core/display.c
index 9551335..f2dffa4 100644
--- a/src/core/display.c
+++ b/src/core/display.c
@@ -2297,6 +2297,15 @@ update_cursor_theme (void)
     if (display->screen)
       meta_screen_update_cursor (display->screen);
   }
+
+  {
+    MetaBackend *backend = meta_get_backend ();
+    if (META_IS_BACKEND_X11 (backend))
+      {
+        Display *xdisplay = meta_backend_x11_get_xdisplay (META_BACKEND_X11 (backend));
+        set_cursor_theme (xdisplay);
+      }
+  }
 }
 
 /*


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