Github messages for voidlinux
 help / color / mirror / Atom feed
* [ISSUE] SDL 1.2 SDL_VIDEORESIZE event is rarely called. (upstream patch exists though)
@ 2024-03-12  0:06 BenjieFiftysix
  0 siblings, 0 replies; only message in thread
From: BenjieFiftysix @ 2024-03-12  0:06 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 1302 bytes --]

New issue by BenjieFiftysix on void-packages repository

https://github.com/void-linux/void-packages/issues/49240

Description:
### Is this a new report?

Yes

### System Info

Void 6.6.20_1 x86_64-musl GenuineIntel notuptodate rFF

### Package(s) Affected

SDL-1.2.15_14

### Does a report exist for this bug with the project's home (upstream) and/or another distro?

https://github.com/libsdl-org/SDL-1.2/issues/667

The thread discusses reverting a commit, though later it seems a patch was created, which can be found here:
https://github.com/libsdl-org/SDL-1.2/commit/f10b27cc9f3e7e201080a245d1c23143e013fad2

Presumably applying that commit as a patch should resolve the issue.

### Expected behaviour

The SDL_VIDEORESIZE event should get called every time the window is resized.

### Actual behaviour

(as mentioned in the linked issue) The SDL_VIDEORESIZE event rarely gets called when the window is resized, especially when being resized from the corner so that both width and height change.

### Steps to reproduce

1. Download sdl-resize-bug.c from the linked issue.
2. Compile with `gcc sdl-resize-bug.c -lSDL`
3. Run with `./a.out`
4. Resize the window from the corner
5. check the terminal output for the text "resize", which should be printed every time the window is resized.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-03-12  0:06 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-12  0:06 [ISSUE] SDL 1.2 SDL_VIDEORESIZE event is rarely called. (upstream patch exists though) BenjieFiftysix

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).