@Ronflaix i imagine it would break the embed, too
but i should make it launch a settings window that also has a test button. that'll give me an excuse to learn the gui stuff
i tossed this together in like an hour, tomorrow i'll look into it
@mavica_again The BBS embed? You can check if your pid() less than 3, those are normally reserved by the OS but somehow they're free on the BBS version and thus you're usually assigned to one of those! (That's what I'm doing for Tiny Animation Editor. Can't deny it's a hack, but it's the cleanest way I know for now.
@mavica_again good point. There might be a way if you get the window_attribs passed by the OS as autoclose is set ny the WM on lauch. It doesn't mean that your process is the screensaver (anybody could launch it with that specific attribute) but it being set by another program is not that frequent. (env().window_attribs.autoclose, you might want to nil-check window_attribs just in case.)