mirror of
https://gitlab.freedesktop.org/wayland/wayland.git
synced 2025-10-31 22:25:25 -04:00
server: warn about global filtering consistency
The filtering needs to be static given a client and a global, otherwise libwayland will misbehave. Signed-off-by: Simon Ser <contact@emersion.fr> References: https://gitlab.freedesktop.org/wayland/wayland/-/merge_requests/241#note_1421888
This commit is contained in:
parent
7eb00b070d
commit
41b10c7458
1 changed files with 4 additions and 0 deletions
|
|
@ -1208,6 +1208,10 @@ wl_display_destroy(struct wl_display *display)
|
||||||
* Setting the filter NULL will result in all globals being
|
* Setting the filter NULL will result in all globals being
|
||||||
* advertised to all clients. The default is no filter.
|
* advertised to all clients. The default is no filter.
|
||||||
*
|
*
|
||||||
|
* The filter should be installed before any client connects and should always
|
||||||
|
* take the same decision given a client and a global. Not doing so will result
|
||||||
|
* in inconsistent filtering and broken wl_registry event sequences.
|
||||||
|
*
|
||||||
* \memberof wl_display
|
* \memberof wl_display
|
||||||
*/
|
*/
|
||||||
WL_EXPORT void
|
WL_EXPORT void
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue