[X2Go-Commits] [x2gokdrive] 01/01: Only send icons of normal and dialog windows.
git-admin at x2go.org
git-admin at x2go.org
Tue Feb 15 19:06:00 CET 2022
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch feature/rootless-mode
in repository x2gokdrive.
commit 1e93b4ed9993721af44e3f365681def61626efc0
Author: Oleksandr Shneyder <o.shneyder at phoca-gmbh.de>
Date: Tue Feb 15 12:05:52 2022 -0600
Only send icons of normal and dialog windows.
---
x2gokdriveremote.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/x2gokdriveremote.c b/x2gokdriveremote.c
index b92d33b..fe362d2 100644
--- a/x2gokdriveremote.c
+++ b/x2gokdriveremote.c
@@ -4157,11 +4157,13 @@ void remote_check_window(WindowPtr win)
rwin->icon_size=0;
rwin->minw=minw;
rwin->minh=minh;
- if(max_icon_w)
+ if(max_icon_w && (winType==WINDOW_TYPE_NORMAL || winType==WINDOW_TYPE_DIALOG))
{
rwin->icon_png=png_compress( max_icon_w, max_icon_h,
icon_data, &rwin->icon_size, TRUE);
}
+ else
+ 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,
--
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