The source project of this merge request has been removed.
Export gdk_wayland_window_set_app_id
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