Add support for themeing X cursor type "plus".

SVN revision: 33266
This commit is contained in:
Christopher Michael 2007-12-27 22:53:30 +00:00
parent 28a576fbe9
commit 02330b094a
1 changed files with 6 additions and 0 deletions

View File

@ -453,6 +453,12 @@ _e_pointer_type_set(E_Pointer *p, const char *type)
if (!cursor) printf("X Cursor for %s is missing\n", type);
ecore_x_window_cursor_set(p->win, cursor);
}
else if (!strcmp(type, "plus"))
{
cursor = ecore_x_cursor_shape_get(ECORE_X_CURSOR_PLUS);
if (!cursor) printf("X Cursor for %s is missing\n", type);
ecore_x_window_cursor_set(p->win, cursor);
}
else
{
printf("Unknown pointer type: %s\n", type);