The X11 backend allocates the "image" with X11 and needs the widget to be realized before calling spicex_image_create().
Created attachment 66392 [details] [review] Fix X11 backend
pushed
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.