Skip to content
Commit af9057d3 authored by Jasper St. Pierre's avatar Jasper St. Pierre Committed by Neil Roberts
Browse files

cogl-winsys-egl-wayland: Report an error if we can't find the globals we need



Instead of spinning forever, do a roundtrip, which guarantees that the
global messages have been sent by the time we read the sync message.

If the proper globals aren't initialized yet, error out immediately. This
does mean that users can't use CoglOnscreen with foreign custom surface
types without xdg_shell, but when a use case comes for this, we'll
investigate then...

Reviewed-by: default avatarNeil Roberts <neil@linux.intel.com>
parent 55c82476
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment