diff --git a/readme b/readme index c5bb03a..3857b77 100644 --- a/readme +++ b/readme @@ -1,5 +1,8 @@ horny desktop pet thing. +you need sdl3 to build it. +i have not tried cross-compiling to windows yet. + i think it's probably best to use some sort of extension language. i want people to be able to create their own pets without having to figure out how to recompile. diff --git a/slutpet.c b/slutpet.c index 3e4f934..49eeca8 100644 --- a/slutpet.c +++ b/slutpet.c @@ -83,7 +83,9 @@ SDL_AppInit(void **as, int argc, char **argv) SDL_Log("create win+render..."); if (!SDL_CreateWindowAndRenderer("slutpet", 320, 240, - SDL_WINDOW_TRANSPARENT | SDL_WINDOW_BORDERLESS, + SDL_WINDOW_TRANSPARENT | SDL_WINDOW_BORDERLESS + | SDL_WINDOW_NOT_FOCUSABLE + | SDL_WINDOW_ALWAYS_ON_TOP, &st->win, &st->ren)) { SDL_LogCritical(SDL_LOG_CATEGORY_APPLICATION, "win creation fail: %s", SDL_GetError());