We are currently migrating Bugzilla to GitHub issues.
Any changes made to the bug tracker now will be lost, so please do not post new bugs or make changes to them.
When we're done, all bug URLs will redirect to their equivalent location on the new bug tracker.

Bug 4236

Summary: Wayland: Flush display when polling events
Product: SDL Reporter: Thomas Perl <m>
Component: videoAssignee: Ryan C. Gordon <icculus>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: icculus, sezeroz
Version: HG 2.1   
Hardware: x86   
OS: Linux   
Attachments: Mercurial patch

Description Thomas Perl 2018-08-23 12:50:37 UTC
Created attachment 3287 [details]
Mercurial patch

On Wayland, if the application doesn't render and if the user doesn't interact with the game, PING requests from the display server will not be answered, resulting in an "unresponsive application" dialog.

Ported from this change in downstream mer-core here:
https://git.merproject.org/mer-core/libsdl/merge_requests/3
Comment 1 Ryan C. Gordon 2018-10-19 01:59:03 UTC
This patch is now https://hg.libsdl.org/SDL/rev/7cec5c0510ae, thanks!

--ryan.