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 - Wayland: Flush display when polling events
Summary: Wayland: Flush display when polling events
Status: RESOLVED FIXED
Alias: None
Product: SDL
Classification: Unclassified
Component: video (show other bugs)
Version: HG 2.1
Hardware: x86 Linux
: P2 normal
Assignee: Ryan C. Gordon
QA Contact: Sam Lantinga
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-08-23 12:50 UTC by Thomas Perl
Modified: 2018-10-19 01:59 UTC (History)
2 users (show)

See Also:


Attachments
Mercurial patch (1.00 KB, text/plain)
2018-08-23 12:50 UTC, Thomas Perl
Details

Note You need to log in before you can comment on or make changes to this bug.
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.