This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch release/0.5.0.x in repository python-x2go. commit edb3c773f98e3f7ae1ca555e883113505c095e3c Author: Mihai Moldovan <ionic@ionic.de> Date: Fri Jan 12 11:10:31 2018 +0100 x2go/backends/terminal/plain.py: supply xinerama parameters to x2gostartagent and x2goresume-session, currently defaulting to false since this feature is not implemented. --- debian/changelog | 6 ++++++ x2go/backends/terminal/plain.py | 15 +++++++++++++++ 2 files changed, 21 insertions(+) diff --git a/debian/changelog b/debian/changelog index 3612bb4..0657eb0 100644 --- a/debian/changelog +++ b/debian/changelog @@ -12,6 +12,12 @@ python-x2go (0.5.0.6-0x2go1) unstable; urgency=medium - x2go/session.py: Only release locks if actually locked. - x2go/session.py: Drop duplicated method is_locked(). + [ Mihai Moldovan ] + * New upstream version (0.5.0.6): + - x2go/backends/terminal/plain.py: supply xinerama parameters to + x2gostartagent and x2goresume-session, currently defaulting to false + since this feature is not implemented. + -- X2Go Release Manager <git-admin@x2go.org> Sat, 23 Sep 2017 21:48:51 +0200 python-x2go (0.5.0.5-0x2go1) unstable; urgency=low diff --git a/x2go/backends/terminal/plain.py b/x2go/backends/terminal/plain.py index 1ea43ea..0d6411b 100644 --- a/x2go/backends/terminal/plain.py +++ b/x2go/backends/terminal/plain.py @@ -1504,6 +1504,14 @@ class X2GoTerminalSession(object): if self.params.dpi: cmd_line = ['X2GODPI=%s' % self.params.dpi] + cmd_line + xinerama = False + xinerama_check = getattr(self.params, 'xinerama', None) + if xinerama_check is not None: + if instanceof(xinerama_check, int): + xinerama = xinerama_check + + cmd_line = ['X2GO_XINERAMA=%s' % str(xinerama)] + cmd_line + (stdin, stdout, stderr) = self.control_session._x2go_exec_command(cmd_line) _stdout = stdout.read() @@ -1570,6 +1578,12 @@ class X2GoTerminalSession(object): if self.params.kbtype != "null/null": setkbd = "1" + xinerama = False + xinerama_check = getattr(self.params, 'xinerama', None) + if xinerama_check is not None: + if instanceof(xinerama_check, int): + xinerama = xinerama_check + if self.params.geometry == 'maximize': _geometry = utils.get_workarea_geometry() if _geometry is None or len(_geometry) != 2: @@ -1588,6 +1602,7 @@ class X2GoTerminalSession(object): self.params.kbtype, setkbd, self.params.clipboard, + str(xinerama), ] (stdin, stdout, stderr) = self.control_session._x2go_exec_command(cmd_line) -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/python-x2go.git