Draft: Input Methods for Internal Windows
input: Route key events from InputMethods through kwin's filters
This provides a more manageable flow of data. When an InputMethod grab is
enabled it is first processed by KWin's filters. If the Input Method injects or
does not handle a key instead of sending it directly to the wayland server it is
run through the filters again but as though the input has come from the
InputDevice rather than the phyiscal keyboard.
This is needed to support InputMethods in internal windows. It also provides a
cleaner path for how the proposed InputMethodV2 would work.
input: Support Input Methods for internal windows and effects.
The internal Qt QPA is now connected directly to InputMethod stack when any
item has focus.
Unlike the wayland protocol nothing is double buffered because we should
process everything before the next frame.
BUG: 450014
effects: Notify Qt application of active window
This is needed to make QGuiApplication::focusObject work which in turn
is needed for InputMethod.