set X cursor color availability based on current compositor's root cursor
authorMike Blumenkrantz <zmike@samsung.com>
Thu, 23 Jan 2014 21:17:34 +0000 (16:17 -0500)
committerMike Blumenkrantz <zmike@samsung.com>
Thu, 23 Jan 2014 21:17:34 +0000 (16:17 -0500)
internal window cursors now display normally

T785

src/bin/e_pointer.c

index a9b3ad6..87a8658 100644 (file)
@@ -553,6 +553,13 @@ e_pointer_window_new(Ecore_Window win,
    p->e_cursor = e_config->use_e_cursor;
    p->win = win;
    p->color = 0;
+   {
+      E_Comp *c;
+
+      c = e_comp_get(NULL);
+      if (c->pointer)
+        p->color = c->pointer->color;
+   }
 
 #ifndef WAYLAND_ONLY
    ecore_x_cursor_size_set(e_config->cursor_size * 3 / 4);