Changeset View
Changeset View
Standalone View
Standalone View
autotests/integration/pointer_input.cpp
Show First 20 Lines • Show All 1073 Lines • ▼ Show 20 Line(s) | 986 | { | |||
---|---|---|---|---|---|
1074 | QCOMPARE(p->cursorImage(), fallbackCursor); | 1074 | QCOMPARE(p->cursorImage(), fallbackCursor); | ||
1075 | } | 1075 | } | ||
1076 | 1076 | | |||
1077 | class HelperEffect : public Effect | 1077 | class HelperEffect : public Effect | ||
1078 | { | 1078 | { | ||
1079 | Q_OBJECT | 1079 | Q_OBJECT | ||
1080 | public: | 1080 | public: | ||
1081 | HelperEffect() {} | 1081 | HelperEffect() {} | ||
1082 | ~HelperEffect() {} | 1082 | ~HelperEffect() override {} | ||
1083 | }; | 1083 | }; | ||
1084 | 1084 | | |||
1085 | void PointerInputTest::testEffectOverrideCursorImage() | 1085 | void PointerInputTest::testEffectOverrideCursorImage() | ||
1086 | { | 1086 | { | ||
1087 | // this test verifies the effect cursor override handling | 1087 | // this test verifies the effect cursor override handling | ||
1088 | using namespace KWayland::Client; | 1088 | using namespace KWayland::Client; | ||
1089 | // we need a pointer to get the enter event and set a cursor | 1089 | // we need a pointer to get the enter event and set a cursor | ||
1090 | auto pointer = m_seat->createPointer(m_seat); | 1090 | auto pointer = m_seat->createPointer(m_seat); | ||
▲ Show 20 Lines • Show All 514 Lines • Show Last 20 Lines |