--- a/idlehomescreen/xmluirendering/uiengine/src/xnfocuscontrol.cpp Thu Jan 07 12:39:41 2010 +0200
+++ b/idlehomescreen/xmluirendering/uiengine/src/xnfocuscontrol.cpp Mon Jan 18 20:10:36 2010 +0200
@@ -182,9 +182,20 @@
if ( IsVisible() || iRefused )
{
CXnNode* node( iAppUiAdapter.UiEngine().FocusedNode() );
-
+
if ( node )
- {
+ {
+ CXnProperty* prop( NULL );
+
+ TRAP_IGNORE( prop = node->GetPropertyL(
+ XnPropertyNames::common::KFocusAppearance ) );
+
+ if ( prop && prop->StringValue() == XnPropertyNames::KNone )
+ {
+ // Current element refuses to draw focus appearance
+ return;
+ }
+
TRect innerRect( aRect );
innerRect.Shrink(