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 4513

Summary: [PATCH] wayland: add dummy remove handler to wl_registry_listener
Product: SDL Reporter: Sebastian Krzyszkowiak <dos>
Component: videoAssignee: Sam Lantinga <slouken>
Status: RESOLVED FIXED QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2 CC: sylvain.becker
Version: HG 2.0   
Hardware: All   
OS: Linux   
Attachments: 0001-wayland-add-dummy-remove-handler-to-wl_registry_list.patch

Description Sebastian Krzyszkowiak 2019-02-20 02:41:36 UTC
Created attachment 3639 [details]
0001-wayland-add-dummy-remove-handler-to-wl_registry_list.patch

Passing NULL there causes SDL to crash every time the compositor sends a remove event - which is particularly unhelpful as the protocol allows to simply ignore the event, because removed objects can be still safely called on the client side and compositor will ignore such requests.
Comment 1 Sylvain 2019-03-12 19:05:30 UTC
Fixed in https://hg.libsdl.org/SDL/rev/5b8e7e5bda1c Thanks !