[WIP—not done] Add Wayland support#3
Conversation
1dbcd62 to
e521f80
Compare
|
What else have to be done, I test it and it works on Wayland |
It does run but the functions that actually send the keypresses are empty placeholders. |
|
Was able to make it work by filling missing functions. Thanks to the recently added libei support on Plasma. Focus is a bit buggy and unhide doesn't work but the OSK itself is working fine, including modkey handling. Whenever I get some free time I'll try a PR but nothing special was needed except avoiding QX11Info::display() and using XOpenDisplay and XCloseDisplay instead. |
|
actually, just tried master (including QT6 support) with flag --platform xcb and it works totally fine, so, the simplest solution would be just detect if we're on wayland and force xcb QT platform plugin, or at least warn the user he can do that. |
When you force xcb platform it's executed as XWayland window i.e. not a native Wayland one. |
No description provided.