← Back to team overview

compiz team mailing list archive

[Bug 427097] Re: gnome-panel reappears in full screen mode after resolution change with compiz

 

@Kjell: If it helps, I get around the problem without disabling compiz
by using this script to change resolution, launch the game and wait
until it finishes, and then change the resolution back. It works fine if
you aren't running any other wine programs. Obviously you need to put in
a resolution that matches the game's:

#!/bin/sh
echo "Changing screen resolution"
xrandr -s 1280x1024
echo "Waiting for resolution change to complete"
sleep 2
wine war3.exe -opengl
echo "Waiting for game to finish"
while [ "`pidof wineserver`" != "" ]; do
  sleep 1
done
echo "Changing resolution back to default"
xrandr -s 0

-- 
gnome-panel reappears in full screen mode after resolution change with compiz
https://bugs.launchpad.net/bugs/427097
You received this bug notification because you are a member of compiz
packagers, which is subscribed to compiz in ubuntu.



References