mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-23 08:00:20 +00:00
1da38eeb3c
Currently, every time the wallpaper picker changes, an additional attempted file load happens on top of the file load to create the bitmap. The only values that the wallpaper picker can take on are filenames that can never be valid when loaded without the /res/wallpaper prefix. To reduce the amount of log spam and speed up wallpaper picking, this patch only attempts to load wallpapers with slash-prefixed names, assumed to be the absolute path to that wallpaper. Additional wallpapers outside of /res/wallpapers/ should still be accessible with this patch, and the experience is improved for the more common case of selecting a built-in wallpaper. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
DisplaySettings.cpp | ||
DisplaySettings.h | ||
main.cpp | ||
MonitorWidget.cpp | ||
MonitorWidget.h |