Changeset View
Changeset View
Standalone View
Standalone View
src/client/fakeinput.cpp
Context not available. | |||||
100 | org_kde_kwin_fake_input_pointer_motion(d->manager, wl_fixed_from_double(delta.width()), wl_fixed_from_double(delta.height())); | 100 | org_kde_kwin_fake_input_pointer_motion(d->manager, wl_fixed_from_double(delta.width()), wl_fixed_from_double(delta.height())); | ||
---|---|---|---|---|---|
101 | } | 101 | } | ||
102 | 102 | | |||
103 | void FakeInput::requestPointerMoveAbsolute(const QPointF &pos) | ||||
104 | { | ||||
105 | Q_ASSERT(d->manager.isValid()); | ||||
106 | org_kde_kwin_fake_input_pointer_motion_abs(d->manager, wl_fixed_from_double(pos.x()), wl_fixed_from_double(pos.y())); | ||||
107 | } | ||||
108 | | ||||
109 | void FakeInput::requestKeyboardEvent(const char *type, quint32 key, quint32 state) | ||||
110 | { | ||||
111 | Q_ASSERT(d->manager.isValid()); | ||||
112 | org_kde_kwin_fake_input_keyboard_button(d->manager, type, key, state); | ||||
113 | } | ||||
114 | | ||||
115 | | ||||
103 | void FakeInput::Private::sendPointerButtonState(Qt::MouseButton button, quint32 state) | 116 | void FakeInput::Private::sendPointerButtonState(Qt::MouseButton button, quint32 state) | ||
104 | { | 117 | { | ||
105 | #if HAVE_LINUX_INPUT_H | 118 | #if HAVE_LINUX_INPUT_H | ||
Context not available. |