summaryrefslogtreecommitdiff
path: root/weston.ini.in
diff options
context:
space:
mode:
authorAndrew Wedgbury <andrew.wedgbury@realvnc.com>2014-05-02 10:01:18 +0100
committerJason Ekstrand <jason.ekstrand@intel.com>2014-06-25 09:05:39 -0700
commitdfd9d0de9637ab2be44885b6a5a7b379dce097ed (patch)
tree49cf731017273086b46ffd0bc343897a3b737d6d /weston.ini.in
parent8202d72054575bea0cd20cb252c119cac6b12561 (diff)
downloadweston-dfd9d0de9637ab2be44885b6a5a7b379dce097ed.tar.gz
screen-share: Allow fullscreen shell command to be configured
I've updated this based on comments, simplifying the command handling. Currently the screen-share module uses a hard-coded command to start the fullscreen shell server. This patch causes the module to read the command from the weston config file (from the "command" key in the "screen-share" section). The default value remains the same (i.e. to run weston with the RDP backend and fullscreen shell), but is now located in the weston config file. As well as allowing the arguments to the fullscreen shell server to be changed, this also permits an alternative fullscreen shell server to be used if required, without needing to recompile. Since the command is run as the user running weston, this should not pose any additional security risk. Signed-off-by: Andrew Wedgbury <andrew.wedgbury@realvnc.com>
Diffstat (limited to 'weston.ini.in')
-rw-r--r--weston.ini.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/weston.ini.in b/weston.ini.in
index f7953d79..03fbde27 100644
--- a/weston.ini.in
+++ b/weston.ini.in
@@ -65,3 +65,6 @@ path=@libexecdir@/weston-keyboard
#constant_accel_factor = 50
#min_accel_factor = 0.16
#max_accel_factor = 1.0
+
+[screen-share]
+command=@bindir@/weston --backend=rdp-backend.so --shell=fullscreen-shell.so --no-clients-resize