Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SDL_WINDOWEVENT_RESIZED never received under Wayland video #2964

Closed
SDLBugzilla opened this issue Feb 11, 2021 · 0 comments
Closed

SDL_WINDOWEVENT_RESIZED never received under Wayland video #2964

SDLBugzilla opened this issue Feb 11, 2021 · 0 comments

Comments

@SDLBugzilla
Copy link
Collaborator

This bug report was migrated from our old Bugzilla tracker.

Reported in version: 2.0.8
Reported for operating system, platform: Linux, x86

Comments on the original bug report:

On 2018-08-31 16:02:46 +0000, Pascal Lacroix wrote:

OS: Fedora 28

CAUSE: Window size has already been updated by the time Wayland video calls SDL_SendWindowEvent(), so that the event is never posted (returns at src/events/SDL_windowevents.c:134)

DETAILS:
Debugging showed that handle_configure_zxdg_toplevel() was called prior to handle_configure_zxdg_shell_surface().
The other function which could send the event is handle_configure_wl_shell_surface(), but it should be noted that it also updates the window size prior to calling SDL_SendWindowEvent(), resulting in the same symptom.

On 2018-10-05 21:24:51 +0000, Ryan C. Gordon wrote:

This is fixed in https://hg.libsdl.org/SDL/rev/c4d5e502c1f4, thanks!

--ryan.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant