[X2Go-Commits] [x2gokdrive] 01/02: don't ignore windows with visibility == 2. Client should hide them from taskbar.

git-admin at x2go.org git-admin at x2go.org
Fri May 26 19:00:33 CEST 2023


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

x2go pushed a commit to branch master
in repository x2gokdrive.

commit 703966a209352e55603caf7571b256a90f0f98be
Author: Oleksandr Shneyder <o.shneyder at phoca-gmbh.de>
Date:   Fri May 26 10:57:27 2023 -0600

    don't ignore windows with visibility == 2. Client should hide them from taskbar.
---
 debian/changelog   | 1 +
 x2gokdriveremote.c | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 49f6b8a..35cd263 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -45,6 +45,7 @@ x2gokdrive (0.0.0.1-0x2go1) UNRELEASED; urgency=medium
       -xkb-variant on Xorg < 11899001.
     - support for windows with type _NET_WM_WINDOW_TYPE_DND. Ignore windows
      with visibility >= 2.
+    - don't ignore windows with visibility == 2. Client should hide them from taskbar.
 
   [ Mihai Moldovan ]
   * Initial release:
diff --git a/x2gokdriveremote.c b/x2gokdriveremote.c
index c8ff6c2..b8693c3 100644
--- a/x2gokdriveremote.c
+++ b/x2gokdriveremote.c
@@ -4117,7 +4117,7 @@ void remote_check_window(WindowPtr win)
     }
 
 //     EPHYR_DBG("Check win %p",win);
-    if(!win->optional || !win->optional->userProps || !win->mapped || win->visibility<0 || win->visibility>=2)
+    if(!win->optional || !win->optional->userProps || !win->mapped || win->visibility<0 || win->visibility>2)
     {
         return;
     }

--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gokdrive.git


More information about the x2go-commits mailing list