[X2Go-Commits] [live-build-x2go] 55/95: add support for older servers where the X2GoAgent window has class "NXAgent", rather than "X2GoAgent", to nomagicpixel=2
git-admin at x2go.org
git-admin at x2go.org
Wed Mar 20 22:45:55 CET 2019
This is an automated email from the git hooks/post-receive script.
x2go pushed a commit to branch feature/openbox-magic-pixel-workaround
in repository live-build-x2go.
commit 7615a32afbab204c8eb7796798ee8e70f3be6e41
Author: Stefan Baur (BAUR-ITCS) <kontakt at baur-itcs.de>
Date: Fri Jan 4 21:39:48 2019 +0100
add support for older servers where the X2GoAgent window has class "NXAgent", rather than "X2GoAgent", to nomagicpixel=2
---
config/includes.chroot/etc/X11/Xsession.d/60x11-magic-pixel-workaround | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/config/includes.chroot/etc/X11/Xsession.d/60x11-magic-pixel-workaround b/config/includes.chroot/etc/X11/Xsession.d/60x11-magic-pixel-workaround
index 8b9bd54..00bb22d 100644
--- a/config/includes.chroot/etc/X11/Xsession.d/60x11-magic-pixel-workaround
+++ b/config/includes.chroot/etc/X11/Xsession.d/60x11-magic-pixel-workaround
@@ -5,7 +5,7 @@ if grep 'nomagicpixel=2' /proc/cmdline ; then
sleep 1
done ;
echo -en "\n$(date +'%F | %T | ')'$0' spawning window foreground monitor (magic-pixel-fix 2)." | tee -a /dev/tty8
- xdotool search --class X2GoAgent behave %@ blur windowmap
+ xdotool search --class X2GoAgent behave %@ blur windowmap || xdotool search --class NXAgent behave %@ blur windowmap
done &
elif grep 'nomagicpixel=1' /proc/cmdline ; then
echo -en "\n$(date +'%F | %T | ')'$0' spawning openbox monitor (magic-pixel-fix 1)." | tee -a /dev/tty8
--
Alioth's /home/x2go-admin/maintenancescripts/git/hooks/post-receive-email on /srv/git/code.x2go.org/live-build-x2go.git
More information about the x2go-commits
mailing list