MCPcopy Create free account
hub / github.com/DreamSourceLab/DSView / set_grabbed

Method set_grabbed

DSView/pv/view/xcursor.cpp:122–128  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122void XCursor::set_grabbed(XCur_type type, bool grabbed)
123{
124 if (_grabbed == XCur_None && grabbed)
125 _grabbed = type;
126 else if (_grabbed == type && !grabbed)
127 _grabbed = XCur_None;
128}
129
130void XCursor::rel_grabbed()
131{

Callers 3

set_grabbed_cursorMethod · 0.45
rel_grabbed_cursorMethod · 0.45
mousePressEventMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected