windowing/windowserver/nga/SERVER/openwfc/windowelementset.cpp
changeset 36 01a6848ebfd7
parent 0 5d03bc08d59c
--- a/windowing/windowserver/nga/SERVER/openwfc/windowelementset.cpp	Tue Feb 02 01:47:50 2010 +0200
+++ b/windowing/windowserver/nga/SERVER/openwfc/windowelementset.cpp	Fri Apr 16 16:21:04 2010 +0300
@@ -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());
 	    }