equal
deleted
inserted
replaced
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; |