[X2Go-Commits] python-x2go.git - master (branch) updated: 0.4.0.8-22-g596f0cb

X2Go dev team git-admin at x2go.org
Fri Nov 22 00:08:51 CET 2013


The branch, master has been updated
       via  596f0cb06a0c2f1e2f4f0f56826612e208521daf (commit)
      from  1032da4cfcbc63d1adbafaf032cd241c0c947da9 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 596f0cb06a0c2f1e2f4f0f56826612e208521daf
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Fri Nov 22 00:08:26 2013 +0100

    Fix session window detection when local session manager is the i3 session manager (which uses _NET_CLIENT_LIST_STACKING instead of _NET_CLIENT_LIST).

-----------------------------------------------------------------------

Summary of changes:
 debian/changelog |    2 ++
 x2go/utils.py    |    4 ++++
 2 files changed, 6 insertions(+)

The diff of changes is:
diff --git a/debian/changelog b/debian/changelog
index 0701087..0857e1f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -26,6 +26,8 @@ python-x2go (0.4.0.9-0~x2go1) UNRELEASED; urgency=low
     - Differentiate between desktop sharing errors and desktop sharing access that gets
       denied by the other/remote user.
     - Report about found session window / session window retitling in debug mode.
+    - Fix session window detection when local session manager is the i3 session manager
+      (which uses _NET_CLIENT_LIST_STACKING instead of _NET_CLIENT_LIST).
 
   [ Orion Poplawski ]
   * debian/control:
diff --git a/x2go/utils.py b/x2go/utils.py
index c6db2de..ea091ad 100644
--- a/x2go/utils.py
+++ b/x2go/utils.py
@@ -605,6 +605,10 @@ def find_session_window(session_name):
         success = False
         windowIDs_obj = root.get_full_property(display.intern_atom('_NET_CLIENT_LIST'), Xlib.X.AnyPropertyType)
 
+        if windowIDs_obj is None:
+            # works with i3 session manager...
+            windowIDs_obj = root.get_full_property(display.intern_atom('_NET_CLIENT_LIST_STACKING'), Xlib.X.AnyPropertyType)
+
         if windowIDs_obj is not None:
             windowIDs = windowIDs_obj.value
 


hooks/post-receive
-- 
python-x2go.git (Python X2Go Client API)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "python-x2go.git" (Python X2Go Client API).




More information about the x2go-commits mailing list