Sunday, 2026-04-12

*** kimmoli_ is now known as kimmoli03:15
nephros_wohoo, first SDL3 app that actually displays something! ;)07:46
malnephros_: with xdg_shell or wl_shell?11:59
nephros_mal: wl_shell.12:00
nephros_(afaics). I don't know what I'm doing actually.12:00
nephros_mal: https://build.sailfishos.org/package/view_file/home:nephros:devel:sdl3/maelstrom/use-system-libs.patch?expand=112:01
malif you use the normal sailfish release and not those changes from PRs etc then it's wl_shell12:01
nephros_I'm following the https://wiki.libsdl.org/SDL3/README-wayland trying the method with "custom wayland protocols".12:03
nephros_So, it displays, and I can interact with the game, but lipstick thinks the window is not responding and prompts to kill it.12:04
nephros_I have th PR one installed, but am trying to use wl_shell explicitly.12:05
malhmm, I remember something like that12:07
nephros_I guess.I'm missing some listener or so. Or haven't found the right place to call the wayland dispatch.12:08
malmaybe grep sdl2 source to how it's done there12:09
nephros_Heh, ya. adding a shell_surface listener shuts up Lipstick, great.13:11
nephros_(and yes - looking at 0001-bring-back-wl-shell-support.patch.helped!13:11
malyeah, thought some small part was missing13:11
nephros_now I must make it do something too, all.the sdl_window struct things have changed.13:12
nephros_https://ibb.co/B2c1B4bD17:10
piggz[m]nephros_: nice20:14
nephros_piggz[m]: yeah :) even orientation detection works I don't think it did in SDL2.20:45
nephros_of course, the issue that the windows/contents don't actually rotate remain.20:46
nephros_oh hey, Vulkan rendering!21:03

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!