Change-Id: I8b8c9072f8a7e6c7eb91968f58f5e5744e58b36f
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
* DEALINGS IN THE SOFTWARE.
*/
-#include "DSCore.h"
#include "DSSeat.h"
#include "DSInput.h"
#include "DSCompositor.h"
#include "DSInputEvent.h"
#include "DSXkb.h"
#include "DSZone.h"
+#include "DSWindow.h"
#include "DSPointer.h"
#include "DSKeyboard.h"
stPosition wPos;
stSize wSize;
- std::list<std::shared_ptr<DSWindow>> wList = __zone->getWindowList();
- for (auto w : wList)
+ for (std::shared_ptr<DSWindow> w : __zone->getWindowList())
{
wSize = w->getSize();
wPos = w->getPosition();
return w;
}
}
+
+ return nullptr;
}
} // namespace display_server