[Feature Proposal] Attach an empty buffer on new wayland surfaces #2089
Labels
C - needs discussion
Direction must be ironed out
DS - wayland
S - enhancement
Wouldn't this be the coolest?
I've stumbled upon a wayland bug caused by the protocol demanding that for a window to be shown (and also have some of it's properties available) it must be mapped, and it seems I'm not the first one: #1257, #793.
To solve this and to make wayland behave a bit more like other platforms (for ease of use), I propose mapping a bogus buffer (with undefined data) to the surface when creating it. Since we're already using SCTK anyways, that wouldn't be a hard task as it provides wrappers for simple memory buffers.
This would make
examples
work on wayland. I'm willing to submit a PR :)The text was updated successfully, but these errors were encountered: