<div dir="ltr">Haven't tried anything of this, but what if xfwm4 does not touch the bg pixmap at all? Is that even possible.<div><br></div><div>IIRC X preserves the pixmap as well, so why have xfwm4 handle this?<br><div>
<br></div><div>Nick</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Nov 22, 2013 at 9:47 PM, Alistair Buxton <span dir="ltr"><<a href="mailto:a.j.buxton@gmail.com" target="_blank">a.j.buxton@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">When using compositing, xfwm4 fills it's background with solid grey,<br>
and then drawing the user's wallpaper is left up to xfdesktop. That's<br>
all fine, except that there's a few seconds after xfwm4 starts and<br>
before xfdesktop starts where you can see the ugly grey. If your X11<br>
login screen already set the user's wallpaper this looks bad, as it<br>
goes grey, and then goes back to the correct image.<br>
<br>
Xfwm4 has some code inside MONITOR_ROOT_PIXMAP defines which is not<br>
normally enabled. This does two things: it copies any pixmap it finds<br>
at startup, and then it constantly monitors the root for changes.<br>
<br>
I think it would be a good idea to always copy the root pixmap on<br>
startup, to avoid the few seconds of grey, even if MONITOR_ROOT_PIXMAP<br>
is not defined. eg:<br>
<br>
<a href="https://github.com/ali1234/xfwm4/commit/b7baa7aa60cdb80759e0872d0ab5a7cb59ec5c10" target="_blank">https://github.com/ali1234/xfwm4/commit/b7baa7aa60cdb80759e0872d0ab5a7cb59ec5c10</a><br>
<br>
Also, the different atoms used by various software to control the<br>
RetainPermanent root pixmaps has many different possible names. Does<br>
it make sense to add these? As well as XROOTPMAP and XSETROOT it<br>
already checks, there is also _XROOTPMAP_ID and ESETROOT_PMAP_ID which<br>
all have exactly the same meaning as far as I can tell. It seems like<br>
it would be easy to add these, at least for the initial copy.<br>
<br>
What do you think about this?<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Alistair Buxton<br>
<a href="mailto:a.j.buxton@gmail.com">a.j.buxton@gmail.com</a><br>
_______________________________________________<br>
Xfce4-dev mailing list<br>
<a href="mailto:Xfce4-dev@xfce.org">Xfce4-dev@xfce.org</a><br>
<a href="https://mail.xfce.org/mailman/listinfo/xfce4-dev" target="_blank">https://mail.xfce.org/mailman/listinfo/xfce4-dev</a><br>
</font></span></blockquote></div><br></div>