[wayland] Implement fetching of pressed keys while Krita is out of focus

In wayland we cannot just ask for pressed keys from the window system. Instead we should receive them via a keyboard_enter event. We just reimplement the wl_keyboard listener from Qt to get these events and parse the pressed keys.

Merge request reports

Loading