32 void start(std::function<
void(
KWin::Window *)> callback,
const QByteArray &cursorName);
33 void start(std::function<
void(
const QPointF &)> callback);
40 bool event(xcb_generic_event_t *
event)
override;
43 xcb_cursor_t createCursor(
const QByteArray &cursorName);
45 void selectWindowUnderPointer();
46 void handleKeyPress(xcb_keycode_t keycode, uint16_t state);
47 void handleButtonRelease(xcb_button_t button, xcb_window_t window);
48 void selectWindowId(xcb_window_t window_to_kill);
49 bool activate(
const QByteArray &cursorName = QByteArray());
50 void cancelCallback();
53 std::function<void(
const QPointF &)> m_pointSelectionFallback;