diff -r 5d03bc08d59c -r fed1595b188e windowing/windowserver/nga/SERVER/openwfc/windowelementset.cpp --- a/windowing/windowserver/nga/SERVER/openwfc/windowelementset.cpp Tue Feb 02 01:47:50 2010 +0200 +++ b/windowing/windowserver/nga/SERVER/openwfc/windowelementset.cpp Sat Feb 20 00:07:50 2010 +0200 @@ -353,7 +353,7 @@ //as that would propagate a client panic in SetBackgroundSurface which did not previously occur. aElement.SetSourceRotation(GcToElementRotation(aSurfaceConfiguration.Orientation())); // Set or clear flip if the element flags are changing - if (aSurfaceConfiguration.Flip() != aElement.SourceFlipping()) + if ( (!aSurfaceConfiguration.Flip()) != (!aElement.SourceFlipping()) ) { aElement.SetSourceFlipping(!aElement.SourceFlipping()); }