MCPcopy Create free account
hub / github.com/KDE/kwin / start

Method start

src/input.cpp:933–940  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

931 return m_active;
932 }
933 void start(std::function<void(Window *)> callback)
934 {
935 Q_ASSERT(!m_active);
936 m_active = true;
937 m_callback = callback;
938 input()->keyboard()->update();
939 input()->touch()->cancel();
940 }
941 void start(std::function<void(const QPoint &)> callback)
942 {
943 Q_ASSERT(!m_active);

Callers 4

keyboardKeyMethod · 0.45
motionMethod · 0.45

Calls 5

inputFunction · 0.85
touchMethod · 0.80
updateMethod · 0.45
keyboardMethod · 0.45
cancelMethod · 0.45

Tested by

no test coverage detected