X11WindowSystem: Bug fixes in map/unmap window functions
authorRahul Singhal <rasinghal@nvidia.com>
Tue, 13 Mar 2012 11:26:19 +0000 (16:56 +0530)
committerMichael Schuldt <michael.schuldt@bmw.de>
Fri, 23 Mar 2012 09:28:58 +0000 (10:28 +0100)
commite33459ec09cbcffad316f0a3edb2f0aa85174c82
treef68ffc0cd53b95e2a78743c153b9f1a5bbb123fd
parent299a75f9c62c9dd14352740b67a06d6e0e236c56
X11WindowSystem: Bug fixes in map/unmap window functions

1. Force surface update when its associated window is mapped/unmapped.
This prevent the surface from showing stale frame.

2. Only unmap a X platform surface if is currently mapped
LayerManagerPlugins/Renderers/Graphic/src/WindowSystems/X11WindowSystem.cpp