MCPcopy Create free account
hub / github.com/Sonic-DE/sonic-win / focusUpdate

Method focusUpdate

src/touch_input.cpp:79–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77}
78
79void TouchInputRedirection::focusUpdate(Window *focusOld, Window *focusNow)
80{
81 // TODO: handle pointer grab aka popups
82
83 if (focusOld && focusOld->isClient()) {
84 focusOld->pointerLeaveEvent();
85 }
86 if (focusNow && focusNow->isClient()) {
87 focusNow->pointerEnterEvent(m_lastPosition);
88 }
89}
90
91void TouchInputRedirection::cleanupDecoration(Decoration::DecoratedWindowImpl *old, Decoration::DecoratedWindowImpl *now)
92{

Callers

nothing calls this directly

Calls 3

isClientMethod · 0.45
pointerLeaveEventMethod · 0.45
pointerEnterEventMethod · 0.45

Tested by

no test coverage detected