[X2Go-Commits] [live-build-x2go] 41/95: fire magicpixel undo command only at windows belonging to the X2GoAgent class (sniper rifle instead of shotgun approach)

git-admin at x2go.org git-admin at x2go.org
Wed Mar 20 22:45:53 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 4e99030fff96a2443736ca6e5ddb82faa8172c87
Author: Stefan Baur (BAUR-ITCS) <kontakt at baur-itcs.de>
Date:   Fri Dec 14 22:47:12 2018 +0100

    fire magicpixel undo command only at windows belonging to the X2GoAgent class (sniper rifle instead of shotgun approach)
---
 config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig b/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig
index 6a0e9c1..fd5d919 100755
--- a/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig
+++ b/config/includes.chroot/lib/live/config/2900-x2go-thinclientconfig
@@ -230,7 +230,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 . behave %@ blur windowmap
+		xdotool search --class X2GoAgent 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