sway/swaybar
Vladimir Panteleev d18bf0f261 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-04-17 20:10:00 +02:00
..
tray fix(swaybar/dbusmenu): cache icon lookups to avoid repeated filesystem access 2026-04-17 20:10:00 +02:00
bar.c Remove unused includes 2026-04-17 20:10:00 +02:00
config.c Remove unused includes 2026-04-17 20:10:00 +02:00
i3bar.c Remove unused includes 2026-04-17 20:10:00 +02:00
image.c common: move load_image to swaybar 2023-11-23 20:42:04 +01:00
input.c Rename dbusmenu functions to adhere to the style guide 2026-04-17 20:10:00 +02:00
ipc.c stringop: fix has_prefix() arg order in config parsing 2025-03-20 21:31:32 +01:00
main.c Replace signal() with sigaction() 2025-04-27 18:42:12 +02:00
meson.build Tray: Implement dbusmenu 2026-04-17 20:10:00 +02:00
render.c Tray: Implement dbusmenu 2026-04-17 20:10:00 +02:00
status_line.c Remove unused includes 2026-04-17 20:10:00 +02:00
swaybar-protocol.7.scd man: update maintainer 2021-01-08 09:33:51 +01:00