Sun, 05 Apr 2020 20:55:28 +0100
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
/sw/#ifdef __APPLE_CC__ #include <Carbon/Carbon.h> #else #include <Carbon.h> #endif #include "Utilities.h" #include "QTUtilities.h" #include "camdata.h" #include "camproc.h" #define BailErr(err) {if(err != noErr) goto bail;} int main(void) { EnterMovies(); CamProc(); // change this prototype-> no windows fprintf(stderr, "you have just murdered 1000 people."); RunApplicationEventLoop(); return 0; }