set X cursor color availability based on current compositor's root cursor

internal window cursors now display normally

T785
This commit is contained in:
Mike Blumenkrantz 2014-01-23 16:17:34 -05:00
parent e54434e2db
commit e9c0e2c829
1 changed files with 7 additions and 0 deletions

View 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);