Bug 3505 "Background Surface does not get destroyed when app closes"
No-bug "Background surface appears in front of UI content"
--- a/windowing/windowserverplugins/openwfc/src/elementwrapper.cpp Wed Aug 04 14:31:48 2010 +0100
+++ b/windowing/windowserverplugins/openwfc/src/elementwrapper.cpp Thu Aug 05 12:17:46 2010 +0100
@@ -974,9 +974,6 @@
}
}
- FlushAttributeChanges(iElement, EUpdate_ALL_ATTRIBS|EUpdate_DontLockSource);
- wfcInsertElement(iOpenWfcWrapper.Device(),iElement,elementBelow);
-
LILOG(("### EXIT CElementWrapper::FlushSceneChanges() FALSE"));
return ETrue;
}
--- a/windowing/windowserverplugins/openwfc/src/openwfcwrapper.cpp Wed Aug 04 14:31:48 2010 +0100
+++ b/windowing/windowserverplugins/openwfc/src/openwfcwrapper.cpp Thu Aug 05 12:17:46 2010 +0100
@@ -340,10 +340,7 @@
{
CElementWrapper* element=static_cast<CElementWrapper*>(aElement);
RemoveElementFromSceneList(element);
- if (!(element->UpdateFlags()&CElementWrapper::EUpdate_SceneCommited))
- {
- delete element;
- }
+ delete element;
}
}