summaryrefslogtreecommitdiffstats
path: root/src/gui/platform/unix/qunixnativeinterface.cpp
diff options
context:
space:
mode:
authorDmitry Kazakov <[email protected]>2025-05-28 12:59:25 +0200
committerDmitry Kazakov <[email protected]>2025-09-12 13:59:48 +0200
commitb5147dca11ea67f72c8292d95f7de7f6853b11fc (patch)
tree95460ed390dd2e047681f6e5e46e8fa28cf12398 /src/gui/platform/unix/qunixnativeinterface.cpp
parent1b4abf645afe3dc137dbdb6e9e27b85db9403cac (diff)
Add QWaylandApplication::xkbContext()
It is necessary for the apps that want to manually parse the stream of events from wl_keyborad. Change-Id: I8229ae6e43640d0e7b9597f5f7b35cba59db0f64 Reviewed-by: David Edmundson <[email protected]>
Diffstat (limited to 'src/gui/platform/unix/qunixnativeinterface.cpp')
-rw-r--r--src/gui/platform/unix/qunixnativeinterface.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/platform/unix/qunixnativeinterface.cpp b/src/gui/platform/unix/qunixnativeinterface.cpp
index 2291467740d..cfdeff40aa5 100644
--- a/src/gui/platform/unix/qunixnativeinterface.cpp
+++ b/src/gui/platform/unix/qunixnativeinterface.cpp
@@ -292,6 +292,11 @@ QT_DEFINE_PRIVATE_NATIVE_INTERFACE(QVxKeyMapper);
\return the seat associated with the default input device.
*/
+/*!
+ \fn struct xkb_context *QNativeInterface::QWaylandApplication::xkbContext() const
+ \return the XKB context associated with the application.
+*/
+
QT_DEFINE_NATIVE_INTERFACE(QWaylandApplication);
/*!