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 5191

Summary: Wayland fullscreen does not forward NULL output
Product: SDL Reporter: Christian Rauch <Rauch.Christian>
Component: videoAssignee: Ryan C. Gordon <icculus>
Status: ASSIGNED --- QA Contact: Sam Lantinga <slouken>
Severity: normal    
Priority: P2    
Version: 2.0.13   
Hardware: x86_64   
OS: Linux   

Description Christian Rauch 2020-06-14 21:32:41 UTC
'SetFullscreen' uses output to determine if fullscreen should be set (output!=NULL) or unset (output==NULL).

However, the request xdg_toplevel.set_fullscreen also accepts NULL as output. From the protocol documentation:
> The output passed by the request indicates the client's preference as
> to which display it should be set fullscreen on. If this value is NULL,
> it's up to the compositor to choose which display will be used to map
> this surface.