From: BenjieFiftysix <BenjieFiftysix@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [ISSUE] SDL 1.2 SDL_VIDEORESIZE event is rarely called. (upstream patch exists though)
Date: Tue, 12 Mar 2024 01:06:37 +0100 [thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-49240@inbox.vuxu.org> (raw)
[-- 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.
next reply other threads:[~2024-03-12 0:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-12 0:06 BenjieFiftysix [this message]
2025-02-03 19:36 ` [ISSUE] [CLOSED] " ahesford
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-49240@inbox.vuxu.org \
--to=benjiefiftysix@users.noreply.github.com \
--cc=ml@inbox.vuxu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).