fake alias implementation

This commit is contained in:
2026-02-23 21:57:30 +01:00
parent 92fd9e5ea6
commit 90bc3b76a2
11 changed files with 101 additions and 1 deletions

View File

@@ -68,6 +68,7 @@ SDL_AppResult SDL_AppInit(void **appstate, int argc, char *argv[])
char *gif_path = NULL;
SDL_SetAppMetadata("systemd", "1.0", "org.kernel.systemd");
SDL_SetHint("SDL_VIDEO_X11_VISUALID", "argb");
if (!SDL_Init(SDL_INIT_VIDEO)) {
SDL_Log("Couldn't initialize SDL: %s", SDL_GetError());
@@ -95,9 +96,10 @@ SDL_AppResult SDL_AppInit(void **appstate, int argc, char *argv[])
return SDL_APP_FAILURE;
}
SDL_SetRenderDrawBlendMode(renderer, SDL_BLENDMODE_BLEND);
make_window_clickthrough();
set_override_redirect();
SDL_SetDefaultTextureScaleMode(renderer, SDL_SCALEMODE_PIXELART);
//SDL_SetTextureScaleMode(renderer, SDL_SCALEMODE_LINEAR);
neko_init(renderer, window);

BIN
overlay/src/real_oneko.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

BIN
overlay/src/sample.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 MiB