<div dir="ltr"><div>If you are actually destroying the fullscreen surface, then this sounds like a bug.<br><br></div><div>The inability to make a fullscreen surface partially-transparent is on purpose, though it might be considered a design error. I believe Weston is trying to pad out the buffer (which may be the wrong shape or size) to fill the screen. It could do this by adding black rectangles around it, so transparency still works, but instead it is putting a black fullscreen rectangle behind it. Possibly better would be to replicate the edge pixels of the buffer to fill the screen, which would give the client an easy way to control the color and transparency of the fill area. Also any rule for how this is done needs to apply to normal windows for any cases where the client does not produce a buffer that is the size/shape the compositor wants, this occurs in tiled window managers.<br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 30, 2015 at 1:35 AM, zou lan <span dir="ltr"><<a href="mailto:nancy.lan.zou@gmail.com" target="_blank">nancy.lan.zou@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi all<div><br></div><div>As I known, when a window is fullscreen, desktop shell will create a black surface after it. If the window is transparent later, it shows a black screen. But the app developers maybe except it to be hide. </div><div><br></div><div>Just take QWindow function hide for example, app1 start app2, then app2 call hide, it excepts to show app1, but it shows the black surface of app2. </div><div><br></div><div><br></div><ul style="margin:0px;padding:0px;list-style:none;color:rgb(51,51,51);font-family:Arial,Helvetica,sans-serif;font-size:14px;line-height:30px;overflow:hidden;min-height:180px"><li style="margin:0px;padding:0px;vertical-align:top;border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px">Does the desktop shell doesn't support set fullscreen surface to be transparent? </li><li style="margin:0px;padding:0px;vertical-align:top;border-top-left-radius:5px;border-top-right-radius:5px;border-bottom-right-radius:5px;border-bottom-left-radius:5px">Thank you.</li></ul><div><font color="#333333" face="Arial, Helvetica, sans-serif"><span style="font-size:14px;line-height:30px">Best Regards</span></font></div><div><font color="#333333" face="Arial, Helvetica, sans-serif"><span style="font-size:14px;line-height:30px">Nancy</span></font></div></div>
<br>_______________________________________________<br>
wayland-devel mailing list<br>
<a href="mailto:wayland-devel@lists.freedesktop.org">wayland-devel@lists.freedesktop.org</a><br>
<a href="http://lists.freedesktop.org/mailman/listinfo/wayland-devel" rel="noreferrer" target="_blank">http://lists.freedesktop.org/mailman/listinfo/wayland-devel</a><br>
<br></blockquote></div><br></div>