This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2gokdrive. commit d79337bd8f13d4bc3d800fd243eda5cf50133979 Author: Oleksandr Shneyder <o.shneyder@phoca-gmbh.de> Date: Mon Mar 7 09:08:38 2022 -0600 don't show invisible windows. --- debian/changelog | 1 + x2gokdriveremote.c | 6 +++--- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index 42e09ef..3a5c40c 100644 --- a/debian/changelog +++ b/debian/changelog @@ -31,6 +31,7 @@ x2gokdrive (0.0.0.1-0x2go1) UNRELEASED; urgency=medium - reduce amount of cache elements to save resources. - rootless mode for x2gokdrive. - improve icon handling in rootless mode. + - don't show invisible windows. [ Mihai Moldovan ] * Initial release: diff --git a/x2gokdriveremote.c b/x2gokdriveremote.c index bba6ec1..8aba731 100644 --- a/x2gokdriveremote.c +++ b/x2gokdriveremote.c @@ -3942,7 +3942,7 @@ void remote_check_window(WindowPtr win) } // EPHYR_DBG("Check win %p",win); - if(!win->optional || !win->optional->userProps || !win->mapped) + if(!win->optional || !win->optional->userProps || !win->mapped || win->visibility<0 || win->visibility>2) { return; } @@ -4169,8 +4169,8 @@ void remote_check_window(WindowPtr win) max_icon_w=0; -// EPHYR_DBG("Add to list: %p, %s, %d:%d %dx%d, visibility: %d", rwin->ptr, rwin->name, rwin->x,rwin->y, -// rwin->w, rwin->h, rwin->visibility); +// EPHYR_DBG("Add to list: ID 0x%X, type %d, %s, %d:%d %dx%d, visibility: %d", win->drawable.id, winType, rwin->name, x,y, +// w, h, win->visibility); } else { -- Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/x2gokdrive.git