Skip to content

security-context: constify lookup_client()

Isaac Freund requested to merge ifreund/wlroots:sec-con-constify into master

This is worth doing despite wl_client_get_destroy_listener() incorrectly accepting a mutable wl_client pointer since this lookup_client() function will primarily be used with a wl_display_global_filter_func_t which only provides a const wl_client pointer.

Work around this libwayland API wart in wlroots so compositors don't have to.

Merge request reports