[X2Go-Commits] [python-x2go] 01/01: Be more exact when detecting the NX proxy window id.
git-admin at x2go.org
git-admin at x2go.org
Thu Aug 28 10:58:40 CEST 2014
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch master
in repository python-x2go.
commit c09f73abe4d28c7d86a8610cff00db27e1aa60b4
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date: Thu Aug 28 10:58:32 2014 +0200
Be more exact when detecting the NX proxy window id.
---
debian/changelog | 1 +
x2go/utils.py | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/debian/changelog b/debian/changelog
index 7e0f6a3..5347421 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -77,6 +77,7 @@ python-x2go (0.5.0.0-0x2go1) UNRELEASED; urgency=low
- Newly understand our own Paramiko/SSH forwarding tunnel code. Become
aware of handling multiple connects on the same tunnel.
- Rename LICENSE.txt to COPYING.
+ - Be more exact when detecting the NX proxy window id.
* debian/control:
+ Add dependencies: python-requests, python-simplejson.
* python-x2go.spec:
diff --git a/x2go/utils.py b/x2go/utils.py
index 9ab5dc8..074bfb3 100644
--- a/x2go/utils.py
+++ b/x2go/utils.py
@@ -630,7 +630,7 @@ def find_session_window(session_name):
name = window.get_wm_name()
except Xlib.error.BadWindow:
continue
- if name is not None and session_name in name:
+ if name is not None and "X2GO-{session_name}".format(session_name=session_name) == name:
success = True
break
--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/python-x2go.git
More information about the x2go-commits
mailing list