From 0e6aa620aa79c7e53a4a889e3ee66b1f48384972 Mon Sep 17 00:00:00 2001 From: cat Date: Sun, 25 May 2025 14:51:14 +1000 Subject: [PATCH] some more window creation flags --- slutpet.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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());