With Wayland we can't just share X11 windows/screens; we need to ask for
a stream from the compositor. Add support for that, falling back to the
direct mode if it isn't present (since *Pidgin* can be using X11 even
when the system is Wayland).
char*msg=g_strdup_printf(ngettext("You have %d contact named %s. Would you like to merge them?","You currently have %d contacts named %s. Would you like to merge them?",i),i,alias);
purple_request_action(NULL,NULL,msg,_("Merging these contacts will cause them to share a single entry on the buddy list and use a single conversation window. "
"You can separate them again by choosing 'Expand' from the contact's context menu"),0,NULL,NULL,NULL,