Lines Matching refs:cursor_count
128 unsigned int cursor_count; member
262 theme->cursor_count = ARRAY_LENGTH(cursor_metadata); in load_default_theme()
263 theme->cursors = malloc(theme->cursor_count * sizeof(*theme->cursors)); in load_default_theme()
266 theme->cursor_count = 0; in load_default_theme()
270 for (i = 0; i < theme->cursor_count; ++i) { in load_default_theme()
277 theme->cursor_count = i; in load_default_theme()
355 theme->cursor_count++; in load_callback()
358 theme->cursor_count * sizeof theme->cursors[0]); in load_callback()
361 theme->cursor_count--; in load_callback()
364 theme->cursors[theme->cursor_count - 1] = cursor; in load_callback()
398 theme->cursor_count = 0; in wl_cursor_theme_load()
407 if (theme->cursor_count == 0) in wl_cursor_theme_load()
428 for (i = 0; i < theme->cursor_count; i++) in wl_cursor_theme_destroy()
451 for (i = 0; i < theme->cursor_count; i++) { in wl_cursor_theme_get_cursor()