pidgin/pidgin

screenshare: Add XDP portal ScreenCast support
release-2.x.y
2020-04-05, David Woodhouse
3c8f61de927c
screenshare: Add XDP portal ScreenCast support

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).

https://flatpak.github.io/xdg-desktop-portal/portal-docs.html
/** @page certificate-signals Certificate Signals
@signals
@signal certificate-stored
@signal certificate-deleted
@endsignals
@see certificate.h
<hr>
@signaldef certificate-stored
@signalproto
void (*certificate_stored)(PurpleCertificatePool *pool, const gchar *id, gpointer data);
@endsignalproto
@signaldesc
Emitted when a pool stores a certificate. Connect to the pool instance.
@param pool Pool the certificate has been stored into
@param id Key the certificate was stored under
@endsignaldef
@signaldef certificate-deleted
@signalproto
void (*certificate_deleted)(PurpleCertificatePool *pool, const gchar *id, gpointer data);
@endsignalproto
@signaldesc
Emitted when a pool deletes a certificate. Connect to the pool instance.
@param pool Pool the certificate was deleted from
@param id Key that was deleted
@endsignaldef
*/
// vim: syntax=c.doxygen tw=75 et