Skip to content

Export gdk_wayland_window_set_app_id

Walter Lozano requested to merge (removed):wip/set_app_id into apertis/v2022dev0

The agl-compositor, which is a reference implementation based on libweston, implements a protocol to activate/deactivate different surfaces based on their app_id. However, GTK automatically sets app_id with program name in all the surfaces that are created, which makes it impossible to use the activation/deactivation procedure.

This patch implements and exports gdk_wayland_window_set_app_id to allow the application to set a custom app_id for each surface.

A similar approach have been used in GTK-4.

Edited by Emanuele Aina

Merge request reports