This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to annotated tag 0.6.1.0
in repository x2goclient.

commit 2bc1ab0f4390c21b5f6adb76d13f7a680cd7ede4
Author: Mike Gabriel <mike.gabr...@das-netzwerkteam.de>
Date:   Mon May 14 16:28:38 2018 +0200

    Add --xinerama (or -x) command line option.
---
 pyhoca-cli             | 1 +
 pyhoca/cli/frontend.py | 5 +++++
 2 files changed, 6 insertions(+)

diff --git a/pyhoca-cli b/pyhoca-cli
index 1df4cac5..4c43750a 100755
--- a/pyhoca-cli
+++ b/pyhoca-cli
@@ -183,6 +183,7 @@ broker_options =  [
 
 nx_options =      [
                     {'args':['-g','--geometry'], 'default': '800x600','help': 
'screen geometry: \'<width>x<height>\' or \'fullscreen\' (default: 
\'800x600\')',},
+                    {'args':['-x','--xinerama'], 'default': False, 'action': 
'store_true', 'help': 'enable Xinerama support in remote X2Go session',},
                     {'args':['-q','--link'], 'default': 'adsl', 'choices': 
('modem','isdn','adsl','wan','lan'), 'help': 'link quality (default: 
\'adsl\')',},
                     {'args':['-t','--session-type'], 'default': 'application', 
'choices': ('desktop', 'application'), 'help': 'session type (default: 
\'application\')', },
                     {'args':['--pack'], 'default': '16m-jpeg-9', 'help': 
'compression methods (see below for possible values)', },
diff --git a/pyhoca/cli/frontend.py b/pyhoca/cli/frontend.py
index bd7e9cc2..6e54164e 100644
--- a/pyhoca/cli/frontend.py
+++ b/pyhoca/cli/frontend.py
@@ -435,6 +435,10 @@ class PyHocaCLI(x2go.X2GoClient):
 
         else:
 
+            xinerama = False
+            if self.args.xinerama:
+                xinerama = self.args.xinerama
+
             # setup up the manually configured X2Go session
             self.x2go_session_hash = 
self._X2GoClient__register_session(args.server, 
port=int(self.args.remote_ssh_port),
                                                            
known_hosts=ssh_known_hosts_filename,
@@ -444,6 +448,7 @@ class PyHocaCLI(x2go.X2GoClient):
                                                            profile_name = 
'Pyhoca-Client_Session',
                                                            
session_type=self.args.session_type,
                                                            link=self.args.link,
+                                                           
xinerama=self.args.xinerama,
                                                            
geometry=self.args.geometry,
                                                            pack=self.args.pack,
                                                            
cache_type='unix-kde',

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on 
/srv/git/code.x2go.org/x2goclient.git
_______________________________________________
x2go-commits mailing list
x2go-commits@lists.x2go.org
https://lists.x2go.org/listinfo/x2go-commits

Reply via email to