mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-25 22:25:58 +01:00
xcursor: quiet debug log
Stop listing all available cursors each time a cursor theme is loaded. They can be obtained from the CLI instead, e.g. ls /usr/share/icons/Adwaita/cursors
This commit is contained in:
parent
5c699f09cb
commit
1a5530d14d
1 changed files with 2 additions and 9 deletions
|
@ -240,15 +240,8 @@ struct wlr_xcursor_theme *wlr_xcursor_theme_load(const char *name, int size) {
|
||||||
load_default_theme(theme);
|
load_default_theme(theme);
|
||||||
}
|
}
|
||||||
|
|
||||||
wlr_log(WLR_DEBUG, "Loaded cursor theme '%s', available cursors:",
|
wlr_log(WLR_DEBUG, "Loaded cursor theme '%s' at size %d (%d available cursors)",
|
||||||
theme->name);
|
theme->name, size, theme->cursor_count);
|
||||||
for (size_t i = 0; i < theme->cursor_count; ++i) {
|
|
||||||
struct wlr_xcursor *c = theme->cursors[i];
|
|
||||||
struct wlr_xcursor_image *i = c->images[0];
|
|
||||||
wlr_log(WLR_DEBUG, "%s (%u images) %" PRIu32 "x%" PRIu32 "+%" PRIu32 ",%" PRIu32,
|
|
||||||
c->name, c->image_count,
|
|
||||||
i->width, i->height, i->hotspot_x, i->hotspot_y);
|
|
||||||
}
|
|
||||||
|
|
||||||
return theme;
|
return theme;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue