mahkoh
mahkoh
Fyi I'm currently working on pushing this over the line. I've already completely ported all input over to xinput2/xkb and validated that ad-hoc keyboard layout changes, multiple seats, etc. work...
Quick update: While implementing the IM client I got the idea that it would be good to completely port the X11 backend from Xlib and friends to libxcb to improve...
> * This feels like it should be its own PR against `master` (or a new branch) That is possible. The port as it is right now is based on...
> It looks like there's loads of really good work buried in this series - though it's a bit surprising how long of a series of changes this is stacked...
Fyi in https://github.com/maroider/winit/pull/6 I've added a platform extension that allows the XInput id to be retrieved from DeviceId.
PS: I've noticed that winit never destroys any wayland surfaces. I've kept it that way with the new objects I've added.
>@mahkoh winit should destroy the surface via sctk iirc, unless sctk changed that? I don't believe this applies to the wl_surface itself.
Please go ahead. I'll add destructor calls for the new objects I've added in this PR.
`self.surface` refers to an xdg_surface not to a wl_surface.
Keep in mind that the wl_surface must be destroyed after the xdg_surface. Otherwise a protocol error occurs.