<div dir="ltr">No, it's not supposed to work, and if it works it's just by pure chance and/or because of how the shell works internally.<div>There is no way to place a surface to an absolute position from the client side, but there may be ways to solve your problem in a different way.</div>
<div>What are you trying to achieve?</div><div><br></div><div>Giulio</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/9/16 Tarnyko <span dir="ltr"><<a href="mailto:tarnyko@tarnyko.net" target="_blank">tarnyko@tarnyko.net</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi folks, <br>
Wayland/Weston 1.2 here ; I recently needed to display a surface using absolute coordinates. Let's say, 100x100 starting from the upper left corner of the compositor. <br>
So here is the (working) approach I used : <br>
window->surface = wl_compositor_create_surface (display->compositor);<br>
window->shell_surface = wl_shell_get_shell_surface (display->shell, window->surface);<br>
wl_shell_surface_set_transient (window->shell_surface, window->surface, 100, 100, 0); <br>
<br>
It works this way, surface always displays at 100x100.<br>
But my question is : is it supposed to work in the first place ? And will it still be working in future releases ? <br>
Regards,<br>
Tarnyko<br>
______________________________<u></u>_________________<br>
wayland-devel mailing list<br>
<a href="mailto:wayland-devel@lists.freedesktop.org" target="_blank">wayland-devel@lists.<u></u>freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/wayland-devel" target="_blank">http://lists.freedesktop.org/<u></u>mailman/listinfo/wayland-devel</a><br>
</blockquote></div><br></div>