Details
-
Technical task
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
None
Description
On Wayland it is not possible to grab the keyboard or mouse. But there still might be situations and user interactions where no system wide shortcuts should be triggered.
There is a standard protocol to request that no shortcuts should be activated while a window has focus.
To use this we need to pass the wl_seat (which is available in QNativeInterface::QWaylandApplication and wl_surface of the window (QNativeInterface::Private::QWaylandWindow)
We use this while recording key input in our shortcut settings.