From f41fd9b9e46f840eff68e68ec9d1ee2ccf6375ba Mon Sep 17 00:00:00 2001 From: Aleix Pol Date: Sat, 22 Jun 2019 14:56:52 +0200 Subject: [PATCH] --verbose --- src/wayland/display.h | 2 +- src/wayland/keystate_interface.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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)); + } } }