sway/swaybar/tray
Vladimir Panteleev a7a7660a49 fix(swaybar/dbusmenu): cache icon lookups to avoid repeated filesystem access
Add caching for icon lookups in menu items. Two new fields are added to
the menu item struct:
- icon_surface: cached icon surface loaded from icon_name
- icon_lookup_done: tracks whether icon lookup has been attempted

The icon is now looked up once and cached, rather than performing
filesystem access every time the menu is drawn. The cached surface is
properly cleaned up when the menu is destroyed.
2026-01-12 19:12:26 +01:00
..
dbusmenu.c fix(swaybar/dbusmenu): cache icon lookups to avoid repeated filesystem access 2026-01-12 19:12:26 +01:00
host.c Remove unused includes 2025-10-13 22:11:39 +02:00
icon.c Define _POSIX_C_SOURCE globally 2024-02-23 17:43:19 +03:00
item.c Remove comment that should be now obsolete 2025-10-13 21:28:56 +02:00
tray.c Tray: don't invoke dbus menu when tray is disabled 2025-10-13 01:28:40 +02:00
watcher.c Remove unused includes 2025-10-13 22:11:39 +02:00