<div dir="ltr">Hi,<div><br></div><div>I'm currently working on an issue in a cross-platform graphics library where the OpenGL interface of this API has some presented some issues with how it is to be integrated with Wayland (<a href="https://github.com/gfx-rs/gfx/pull/3545" target="_blank">https://github.com/gfx-rs/gfx/pull/3545</a>).</div><div><br></div><div>The crux of the issue is that when we create our OpenGL context we create it with a display connection that we initiate. Further down the line when we need to create a wl_egl_window, we are given a wl_surface that was created by a different call to wl_display_connect. Now physically these displays are the same, but it seems when trying to use the foreign surface with our internal wl_display causes this whole thing to not work. I get the following error in Weston 8:</div><div><br></div><div>[17:54:27.891] libwayland: invalid object (6), type (zwp_relative_pointer_manager_v1), message attach(?oii)<br>[17:54:27.893] libwayland: error in client communication (pid 1340)<br></div><div><br></div><div>My hunch is that calling certain wl_surface functions with a display other than the one that created it is unsupported in weston. I'm primarily mailing this list to confirm this is true and that there are no other possible work arounds.</div><div><br></div><div>Thanks</div></div>