diff options
author | Simon Rettberg | 2016-10-20 00:09:03 +0200 |
---|---|---|
committer | Simon Rettberg | 2016-10-20 00:09:03 +0200 |
commit | 995a47062229e36873aa1e4e860565045d1fbb7e (patch) | |
tree | f2d4f4569daa8ac8a1d7ca6cd695f6809ac964f4 /sample_configuration/switchBack.sh | |
parent | Implement "Attention" feature (virtual hand-raising) (diff) | |
parent | [server] Remove pointless code relying on defunct tutor ip list (diff) | |
download | pvs2-995a47062229e36873aa1e4e860565045d1fbb7e.tar.gz pvs2-995a47062229e36873aa1e4e860565045d1fbb7e.tar.xz pvs2-995a47062229e36873aa1e4e860565045d1fbb7e.zip |
Merge branch 'master' of openslx.org:pvs2
Diffstat (limited to 'sample_configuration/switchBack.sh')
-rwxr-xr-x | sample_configuration/switchBack.sh | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sample_configuration/switchBack.sh b/sample_configuration/switchBack.sh index cc2bae9..0fc3039 100755 --- a/sample_configuration/switchBack.sh +++ b/sample_configuration/switchBack.sh @@ -1,3 +1,10 @@ #!/bin/bash + +# Force vmplayer to desktop 0 +WINDOWS=$(xdotool search --class vmplayer) +for window in $WINDOWS; do + wmctrl -i -r $window -t 0 +done + # switch back to desktop 0 -wmctrl -s 0 +wmctrl -s 0 |