diff --git a/src/wayland/autotests/client/test_idle.cpp b/src/wayland/autotests/client/test_idle.cpp index ded7b80d2e..f1ec7554ff 100644 --- a/src/wayland/autotests/client/test_idle.cpp +++ b/src/wayland/autotests/client/test_idle.cpp @@ -135,7 +135,7 @@ void IdleTest::testTimeout() // simulate some activity QVERIFY(resumedFormIdleSpy.isEmpty()); - m_seatInterface->setTimestamp(1); + m_idleInterface->simulateUserActivity(); QVERIFY(resumedFormIdleSpy.wait()); timeout.reset(); diff --git a/src/wayland/idle_interface.cpp b/src/wayland/idle_interface.cpp index 60dc1df4b9..0ce4614961 100644 --- a/src/wayland/idle_interface.cpp +++ b/src/wayland/idle_interface.cpp @@ -79,9 +79,6 @@ IdleTimeoutInterface::IdleTimeoutInterface(SeatInterface *seat, IdleInterface *m , seat(seat) , manager(manager) { - connect(seat, &SeatInterface::timestampChanged, this, [this] { - simulateUserActivity(); - }); connect(manager, &IdleInterface::inhibitedChanged, this, [this, manager] { if (!timer) { // not yet configured