windowing/windowserver/nga/SERVER/REDRAWQ.CPP
branchRCL_3
changeset 5 25f95128741d
parent 0 5d03bc08d59c
equal deleted inserted replaced
4:15986eb6c500 5:25f95128741d
   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;