mirror of
https://github.com/polybar/polybar.git
synced 2026-02-17 21:45:37 +00:00
The background_manager used the root window depth for creating its pixmaps, but when the root pixmap has a different depth, this causes the copy_area_checked call to fail and crash the bar. We now load the root pixmap before finding the visual and creating the slice pixmaps. Fixes #2798