diff --git a/src/wayland/display.h b/src/wayland/display.h index 40e9d3e8f2..e001313efb 100644 --- a/src/wayland/display.h +++ b/src/wayland/display.h @@ -205,7 +205,7 @@ public: SlideManagerInterface *createSlideManager(QObject *parent = nullptr); DpmsManagerInterface *createDpmsManager(QObject *parent = nullptr); - /** @since 5.57 */ + /** @since 5.60 */ KeyStateInterface *createKeyStateInterface(QObject *parent = nullptr); /** diff --git a/src/wayland/keystate_interface.cpp b/src/wayland/keystate_interface.cpp index 576470b883..2ad3a09f19 100644 --- a/src/wayland/keystate_interface.cpp +++ b/src/wayland/keystate_interface.cpp @@ -86,9 +86,9 @@ void KeyStateInterface::setState(KeyStateInterface::Key key, KeyStateInterface:: auto dptr = static_cast(d.data()); dptr->m_keyStates[int(key)] = state; - qDebug() << Q_FUNC_INFO << "xxxxxxxx setting state" << dptr->m_resources << key << state; - for(auto r : qAsConst(dptr->m_resources)) + for(auto r : qAsConst(dptr->m_resources)) { org_kde_kwin_keystate_send_stateChanged(r, int(key), int(state)); + } } }