Add a screen sharing plugin
authorJason Ekstrand <jason@jlekstrand.net>
Thu, 3 Apr 2014 00:54:01 +0000 (19:54 -0500)
committerKristian Høgsberg <krh@bitplanet.net>
Thu, 3 Apr 2014 04:28:09 +0000 (21:28 -0700)
commit47928d8715038e7a5fd7fd383dc3ec2c185ddd23
tree0458a98c76599556417ce83782d21406a8e30a2f
parentf34cd2c6761977fac2f09d5bebde21ddde67da23
Add a screen sharing plugin

This adds a plugin called screen-share.so.  If the screen-share.so module
is imported, it will add the CTRL+ALT+s keybinding to start a screen
sharing session.  If you press CTRL+ALT+S, weston will spawn another copy
of weston, this time with the RDP backend, and mirrors the current screen
to it and adds any seats from RDP as aditional seats.  The current screen
is defined as the one with the mouse pointer.  Currently the CTRL+ALT+s
keybinding is hardcoded as the only way to activate screen sharing.  If, at
some point, shells want more control over the screen sharing process, the
API's should be easy to update and export to make this possible.

For security, the command and path to weston is currently hard-coded.  It
would not take much aditional code to make this configurable or to allow a
shell to launch other screen-sharing programs.  However, handling those
security issues is outside the scope of this patch so it is hard-coded for
now.

Signed-off-by: Jason Ekstrand <jason@jlekstrand.net>
Makefile.am
configure.ac
src/screen-share.c [new file with mode: 0644]