Change-Id: I6a7e8b1104f92367ba8cefc170b9255886204638
Signed-off-by: Sung-Jin Park <sj76.park@samsung.com>
__dswlPointer->setFocus(waylandSurface);
}
+void DSPointer::resetFocus()
+{
+ if (__ptrFocus)
+ {
+ __ptrFocus = nullptr;
+ DSLOG_INF("DSPointer", "ptrFocus has been reset.");
+ }
+
+ if (__dswlPointer)
+ __dswlPointer->resetFocus();
+}
+
std::shared_ptr<DSWindow> DSPointer::getFocus()
{
return __ptrFocus;
void mouseIn(int x, int y);
void mouseOut();
void setFocus(std::shared_ptr<DSWindow> window);
+ void resetFocus();
std::shared_ptr<DSWindow> getFocus();
private: