Skip to content
Snippets Groups Projects
Commit f284a0cb authored by Pekka Paalanen's avatar Pekka Paalanen
Browse files

color: define global_remove behavior

!14 (comment 2756612)
wayland#484



Toolkit authors are reluctant to handle the global removal, because on
most compositors the removal will never happen. OTOH, there is a
compositor author who wants to be able to change color-management
capabilities at runtime due to dynamically switching renderers.

This new wording strongly suggests the global is never removed to let
toolkits avoid all the code that removal tracking would need. Removal is
still technically allowed, but it is not generally expected that clients
would handle it.

Signed-off-by: default avatarPekka Paalanen <pekka.paalanen@collabora.com>
parent b2d34dd6
No related tags found
No related merge requests found
Pipeline #1363910 passed
...@@ -73,11 +73,13 @@ ...@@ -73,11 +73,13 @@
<interface name="wp_color_manager_v1" version="1"> <interface name="wp_color_manager_v1" version="1">
<description summary="color manager singleton"> <description summary="color manager singleton">
A global interface used for getting color management extensions for A singleton global interface used for getting color management extensions
wl_surface and wl_output objects, and for creating client defined image for wl_surface and wl_output objects, and for creating client defined
description objects. The extension interfaces allow image description objects. The extension interfaces allow
getting the image description of outputs and setting the image getting the image description of outputs and setting the image
description of surfaces. description of surfaces.
Compositors should never remove this global.
</description> </description>
<request name="destroy" type="destructor"> <request name="destroy" type="destructor">
......
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