diff -r 3321d3e205b6 -r b01126ce0bec idlehomescreen/xmluirendering/uiengine/src/xnpopupcontroladapter.cpp --- a/idlehomescreen/xmluirendering/uiengine/src/xnpopupcontroladapter.cpp Tue Sep 14 20:58:58 2010 +0300 +++ b/idlehomescreen/xmluirendering/uiengine/src/xnpopupcontroladapter.cpp Wed Sep 15 12:00:00 2010 +0300 @@ -204,13 +204,19 @@ CXnViewManager* manager( iUiEngine->ViewManager() ); CXnPluginData* plugin( manager->ActiveViewData().Plugin( &aPlugin ) ); - + if ( !plugin ) { return; } CXnViewAdapter& adapter( iUiEngine->AppUiAdapter().ViewAdapter() ); + + // this is to avoid stylus popup on widget manager + if ( !adapter.IsForegroundAdapter() ) + { + return; + } const TPointerEvent& event( adapter.EventDispatcher()->PointerEvent() );