Merge commit 'a47a1e77a4dc9510187f57d5cdf12f5ecf6b3ab0' into eclair-mr2 * commit 'a47a1e77a4dc9510187f57d5cdf12f5ecf6b3ab0': Check that the window which wants to force hide is visible before setting the flag forceHiding to true. If we do layout the surfaces