X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=libaurum%2Fsrc%2FUiDevice.cc;h=a3d66e1653f2594dfb9ee27b94120f67dfa0d440;hb=531b35cd665bc37a1f04122e8337869f02a9c9da;hp=169e6baa3d1bdde63a208e6bde263718924fdd4d;hpb=5854da3a01572a955b438a8343cdbea49c235f72;p=platform%2Fcore%2Fuifw%2Faurum.git diff --git a/libaurum/src/UiDevice.cc b/libaurum/src/UiDevice.cc index 169e6ba..a3d66e1 100644 --- a/libaurum/src/UiDevice.cc +++ b/libaurum/src/UiDevice.cc @@ -209,7 +209,7 @@ std::vector> UiDevice::getWindowRoot() const LOGI("Visible win (%d) (%d %d %d %d) (%s)", tWin->getPid(), tWin->getWindowGeometry().mTopLeft.x, tWin->getWindowGeometry().mTopLeft.y, tWin->getWindowGeometry().width(), tWin->getWindowGeometry().height(), tWin->getName().c_str()); - if (pidToAppNode.count(tWin->getPid() == 0)) continue; + if (pidToAppNode.count(tWin->getPid()) == 0) continue; LOGI("Active App : (%s) (%d)", tWin->getName().c_str(), tWin->getPid()); auto wins = pidToAppNode[tWin->getPid()]->getWindows();