Lines Matching refs:cursors
135 struct wl_cursor **cursors; member
269 theme->cursors = malloc(theme->cursor_count * sizeof(*theme->cursors)); in load_default_theme()
271 if (theme->cursors == NULL) { in load_default_theme()
277 theme->cursors[i] = in load_default_theme()
280 if (theme->cursors[i] == NULL) in load_default_theme()
362 theme->cursors = in load_callback()
363 realloc(theme->cursors, in load_callback()
364 theme->cursor_count * sizeof theme->cursors[0]); in load_callback()
366 if (theme->cursors == NULL) { in load_callback()
370 theme->cursors[theme->cursor_count - 1] = cursor; in load_callback()
405 theme->cursors = NULL; in wl_cursor_theme_load()
435 wl_cursor_destroy(theme->cursors[i]); in wl_cursor_theme_destroy()
440 free(theme->cursors); in wl_cursor_theme_destroy()
458 if (strcmp(name, theme->cursors[i]->name) == 0) in wl_cursor_theme_get_cursor()
459 return theme->cursors[i]; in wl_cursor_theme_get_cursor()