Put window exporting behind a display protocol agnostic API
Introduce a private API meant for abstracting how to get a handle of a window that can be shared with other processes. The API is async, since some implementations will require that. Currently, only X11 is supported, which doesn't. Based on a patch by Jonas Adahl.
Showing with 41 additions and 0 deletions