windowing/windowserver/nga/SERVER/REDRAWQ.CPP
changeset 116 171fae344dd4
parent 0 5d03bc08d59c
equal deleted inserted replaced
103:2717213c588a 116:171fae344dd4
   168 #endif
   168 #endif
   169 	// search all screens
   169 	// search all screens
   170 	TInt invalidWindows = 0;
   170 	TInt invalidWindows = 0;
   171 	for (TInt screenNo = 0; screenNo < CWsTop::NumberOfScreens(); ++screenNo)
   171 	for (TInt screenNo = 0; screenNo < CWsTop::NumberOfScreens(); ++screenNo)
   172 		{
   172 		{
   173 		CWsRootWindow* rootWindow = CWsTop::Screen(screenNo)->RootWindow();
   173 		const CScreen* screen = CWsTop::Screen(screenNo);
       
   174 		WS_ASSERT_ALWAYS(screen, EWsPanicNoScreen);
       
   175 		CWsRootWindow* rootWindow = screen->RootWindow();
   174 		for (CWsWindowGroup *groupWin = rootWindow->Child(); groupWin; groupWin = groupWin->NextSibling())
   176 		for (CWsWindowGroup *groupWin = rootWindow->Child(); groupWin; groupWin = groupWin->NextSibling())
   175 			{
   177 			{
   176 			if (groupWin->WsOwner() == iWsOwner)
   178 			if (groupWin->WsOwner() == iWsOwner)
   177 				{
   179 				{
   178 				CWsWindowRedraw* redrawWin = NULL;
   180 				CWsWindowRedraw* redrawWin = NULL;