<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Sep 25, 2014 at 3:58 PM, Bill Spitzak <span dir="ltr"><<a href="mailto:spitzak@gmail.com" target="_blank">spitzak@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 09/25/2014 01:57 PM, Jasper St. Pierre wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<a href="https://github.com/magcius/weston/commit/c1e5a846f4f57400bca1262111f9793e451c5b49" target="_blank">https://github.com/magcius/<u></u>weston/commit/<u></u>c1e5a846f4f57400bca1262111f979<u></u>3e451c5b49</a><br>
</blockquote>
<br>
That patch has nothing to do with what is needed.<br>
<br>
You don't need a "modal window type". This is trivial for a client to do by just pretending that whatever keystrokes it gets go to the "modal" window even if the compositor sends them to a different window.<br>
<br>
What is needed is a non-flickering and atomic method of creating that modal window atop the main one and keeping it there. That requires a parent, not a "modal" flag. (well actually it does not require a parent if instead there was a way to atomically map and rearrange a set of surfaces, but I think the parent will be much easier and matches what programmers are familiar with).<br></blockquote><div><br>You mean like the existing set_parent request that has been there since xdg-shell has landed?<br><br><a href="http://cgit.freedesktop.org/wayland/weston/tree/protocol/xdg-shell.xml#n140">http://cgit.freedesktop.org/wayland/weston/tree/protocol/xdg-shell.xml#n140</a> <br><br></div></div>-- <br> Jasper<br>
</div></div>