~rabbits/public-inbox

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch
1

[PATCH uxn] uxnemu: Make the window resizable

Details
Message ID
<20220403224850.252548-1-mail@smlavine.com>
DKIM signature
pass
Download raw message
Patch: +1 -1
This also makes the window tile properly in window managers like dwm.
---
 src/uxnemu.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/uxnemu.c b/src/uxnemu.c
index 6829c29..8b4590c 100644
--- a/src/uxnemu.c
+++ b/src/uxnemu.c
@@ -162,7 +162,7 @@ init(void)
	as.userdata = NULL;
	if(SDL_Init(SDL_INIT_VIDEO | SDL_INIT_AUDIO | SDL_INIT_JOYSTICK) < 0)
		return error("sdl", SDL_GetError());
	gWindow = SDL_CreateWindow("Uxn", SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, (WIDTH + PAD * 2) * zoom, (HEIGHT + PAD * 2) * zoom, SDL_WINDOW_SHOWN | SDL_WINDOW_ALLOW_HIGHDPI);
	gWindow = SDL_CreateWindow("Uxn", SDL_WINDOWPOS_UNDEFINED, SDL_WINDOWPOS_UNDEFINED, (WIDTH + PAD * 2) * zoom, (HEIGHT + PAD * 2) * zoom, SDL_WINDOW_SHOWN | SDL_WINDOW_ALLOW_HIGHDPI | SDL_WINDOW_RESIZABLE);
	if(gWindow == NULL)
		return error("sdl_window", SDL_GetError());
	gRenderer = SDL_CreateRenderer(gWindow, -1, 0);
-- 
2.35.1

[uxn/patches/.build.yml] build success

builds.sr.ht <builds@sr.ht>
Details
Message ID
<CJ0Z061BJ7KL.CIM2L89YJL4F@cirno2>
In-Reply-To
<20220403224850.252548-1-mail@smlavine.com> (view parent)
DKIM signature
missing
Download raw message
uxn/patches/.build.yml: SUCCESS in 55s

[uxnemu: Make the window resizable][0] from [Sebastian LaVine][1]

[0]: https://lists.sr.ht/~rabbits/public-inbox/patches/30781
[1]: mail@smlavine.com

✓ #729349 SUCCESS uxn/patches/.build.yml https://builds.sr.ht/~rabbits/job/729349
Reply to thread Export thread (mbox)