35aca5b368
We need to use positions relative to the position of the bar for indexing into the background image slice, but the code used absolute ones. This worked fine as long as absolute positions are the same as relative positions (this is the case for a bar located at (0,0), so if bottom = false). But for bottom bars (where the bar position is not (0,0)) this was wrong which caused the tray background to be black (out of bounds for the background slice). |
||
---|---|---|
.. | ||
extensions | ||
atoms.hpp | ||
background_manager.hpp | ||
connection.hpp | ||
cursor.hpp | ||
ewmh.hpp | ||
icccm.hpp | ||
registry.hpp | ||
tray_client.hpp | ||
tray_manager.hpp | ||
types.hpp | ||
window.hpp | ||
winspec.hpp | ||
xembed.hpp | ||
xresources.hpp |