Skip to content
Snippets Groups Projects
Commit 4823a53b authored by Niklas Haas's avatar Niklas Haas Committed by Hugo Beauzée-Luyssen
Browse files

xcb/window: track and report ICC profile changes

We need to update the ICC profile either if the window moves to a new
display, or if the root window atom associated with a given display is
updated. To this end, we need to start tracking property changes on the
root window, as well as updating this atom every time the window moves
to a new display.

Unfortunately, this code again requires one memcpy more than I'd like to
have there, as a result of xcb not letting me fetch properties into my
own buffers. If we determine this to be a performance issue later on,
the straightforward fix would be to make vlc_icc_profile_t refcounted
with a custom free callback.
parent 8e88fd24
No related branches found
No related tags found
Loading
Pipeline #249606 passed with stage
in 16 minutes and 46 seconds
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment