diff -r 65f103b6ab60 -r 0e9202c0340c windowing/windowserver/nga/SERVER/EVENT.CPP --- a/windowing/windowserver/nga/SERVER/EVENT.CPP Tue May 25 14:06:41 2010 +0300 +++ b/windowing/windowserver/nga/SERVER/EVENT.CPP Wed Jun 09 11:06:44 2010 +0300 @@ -1,4 +1,4 @@ -// Copyright (c) 1994-2009 Nokia Corporation and/or its subsidiary(-ies). +// Copyright (c) 1994-2010 Nokia Corporation and/or its subsidiary(-ies). // All rights reserved. // This component and the accompanying materials are made available // under the terms of "Eclipse Public License v1.0" @@ -623,6 +623,21 @@ TWsEvent event; event.SetType(EEventDisplayChanged); event.SetTimeNow(); + + // fill in the handle otherwise CONE will discard the notification + CWsObjectIx* clientObjList = aWsClient->ObjectIndex(); + const TWsObject* ptr=clientObjList->FirstObject(); + const TWsObject* end=ptr+clientObjList->Length(); + while(++ptriObject; + if (obj && obj->Type()==WS_HANDLE_GROUP_WINDOW) + { + event.SetHandle(ptr->iHandle); + break; + } + } + TWsDisplayChangedEvent* dispEvent = event.DisplayChanged(); dispEvent->iDisplayNumber = aDisplayNumber; dispEvent->iConfigurationChangeId = aConfigurationChangeId;