MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / pointerMoved

Method pointerMoved

source/x11/xserver.cpp:851–861  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

849}
850
851void XServer::pointerMoved(const XWindowPtr& from, const XWindowPtr& to, S32 x, S32 y, U32 mode) {
852 const XWindowPtr& commonAncestor = from->getLeastCommonAncestor(to);
853
854 if (commonAncestor->id == from->id) {
855 pointerMovedParentToChild(from, to, x, y, mode);
856 } else if (commonAncestor->id == to->id) {
857 pointerMovedChildToParent(from, to, x, y, mode);
858 } else {
859 pointerMovedBetweenSiblings(from, to, commonAncestor, x, y, mode);
860 }
861}
862
863int XServer::mapWindow(const DisplayDataPtr& data, const XWindowPtr& window) {
864 if (server->trace) {

Callers 2

mapWindowMethod · 0.80
unmapWindowMethod · 0.80

Calls 1

Tested by

no test coverage detected