Sebastian Krzyszkowiak

Results 119 comments of Sebastian Krzyszkowiak

> Touch input (Postponed; I must find a way to emulate a touch screen as I don't have one) You can simply use any wlroots-based compositor (Sway, phoc, Cage etc.)...

@toger5 Try with line 503 in `display_server_wayland.cpp` changed this way: ```diff - sd->wl_output = (struct wl_output *)wl_registry_bind(wl_registry, name, &wl_output_interface, 3); + sd->wl_output = (struct wl_output *)wl_registry_bind(wl_registry, name, &wl_output_interface, 2); ```...

If you don't require features added in later versions for your code to actually work, you should pass something like `MIN(3, version)` or `MAX(5, MIN(7, version))` to `wl_registry_bind`, where `version`...

Touch handling on X11 with auto capture enabled is broken in general, it's not just gestures or mouse emulation. SDL sends an FINGERUP event right after FINGERDOWN (sometimes there's a...

> However, I am now wondering is if SDL2 in Example 1 is triggering the same mechanism that lets XWayland windows get scaled up, while still providing a native Wayland...

Using layer-shell to implement always-on-top would be a huge abuse of the protocol and would be insanely broken when it comes to window positioning, resizing, placement on task bar and...

layer-shell simply has no provisions to handle a regular application window like xdg-shell does, as that's not the use case it's supposed to accommodate at all. It's meant for system...

> but I would imagine it falls in line with text_input_v3 Not when it comes to things like cursor and return keys. Those are send to the compositor via virtual-keyboard...

> I'm pretty sure it will be reproducible on sway just as well. For the record, I've verified that now and, indeed, it's also happening under sway on desktop (and...

The most interesting part seems to be https://github.com/libsdl-org/SDL/blob/main/src/video/wayland/SDL_waylandevents.c#L1009, which appears... [hardcoded](https://github.com/libsdl-org/SDL/blob/main/src/events/scancodes_xfree86.h#L183)?