While experimenting with the Wayland driver, my Wayland compositor (Wayfire, a wlroots compositor) tossed an error message regarding attaching a surface buffer before configure. I looked up the spec/XML protocol and sure enough it does specify that an XDG surface should not have a buffer attached before it has been configured. I whipped up a quick patch to rectify and thought I'd post it here for review:
Hello,
While experimenting with the Wayland driver, my Wayland compositor (Wayfire, a wlroots compositor) tossed an error message regarding attaching a surface buffer before configure. I looked up the spec/XML protocol and sure enough it does specify that an XDG surface should not have a buffer attached before it has been configured. I whipped up a quick patch to rectify and thought I'd post it here for review:
Thoughts?