2007 XK convertible rear window attachment

My friend in the USA has asked if I know how the rear widow is attached to the soft-top.
It appears to be attached to the headlining but both have become detached from the soft-top.
Is some sort of adhesive used?