<div dir="ltr"><div><div><div>Hello Stephan,<br><br></div>Thanks for your feedback. <br><br></div>It is technically possible to access the preview images via DBUS. I am not sure about xfwm4 and DBUS interaction though. Does xfwm4 listen on dbus?<br><br></div>-Sonal<br><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jan 11, 2015 at 7:24 AM, Stephan Haller <span dir="ltr"><<a href="mailto:nomad@froevel.de" target="_blank">nomad@froevel.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Sonal,<br>
<br>
I tried it and ... awesome :) That's the missing feature I had to xfwm4<br>
and it works like a charm. Ok, to be honest it is not working a long<br>
time here but no crashes or strange behaviours since it is running.<br>
<br>
I hope your work will be reviewed soon and of cource, accepted :)<br>
<br>
But as usual, after one feature another feature request follows ;) Don't<br>
scare it is just a question: Do you think it will be possible (in the<br>
future) to access this preview images publically? E.g. via a function<br>
call or via DBUS or any other fancy interface? It would to great to make<br>
use of it in xfdashboard and would increase the user experience to see<br>
the window content from each minimized (or unmapped) window from the<br>
beginning. So I can get rid of my workaround when the user is using<br>
xfwm4 as his window manager which I believe most setups do. That would<br>
be totally awesome.<br>
<br>
Regards,<br>
Stephan<br>
<br>
Am Sonntag, den 11.01.2015, 06:32 -0800 schrieb Sonal Santan:<br>
<div class="HOEnZb"><div class="h5">> Hello,<br>
><br>
> I think I have solved that bug. Now I request for preview caching in<br>
> clientWithdrawSingle() which works reliably for all applications. I<br>
> have pushed the changes to github. Please give it a try.<br>
><br>
><br>
> -Sonal<br>
><br>
><br>
> On Sat, Jan 10, 2015 at 5:42 PM, Sonal Santan <<a href="mailto:sonal.santan@gmail.com">sonal.santan@gmail.com</a>><br>
> wrote:<br>
> Hello,<br>
><br>
> The missing preview bug I mentioned in my previous email seems<br>
> to only affect XFCE Terminal if that makes any sense.<br>
><br>
><br>
> -Sonal<br>
><br>
><br>
> On Sat, Jan 10, 2015 at 5:25 PM, Sonal Santan<br>
> <<a href="mailto:sonal.santan@gmail.com">sonal.santan@gmail.com</a>> wrote:<br>
> Hello,<br>
><br>
><br>
> I have upstreamed my changes for window previews to<br>
> <a href="https://github.com/sonals/xfwm4.git" target="_blank">https://github.com/sonals/xfwm4.git</a> for folks to try<br>
> out. There is one bug I am still trying to track down<br>
> -- occasionally, the preview comes out as blank for a<br>
> minimized window. I capture the previews of windows<br>
> which are about to be minimized inside unmap_win()<br>
> hook of the compositor. Is this the correct location<br>
> for capturing the previews of windows which are about<br>
> to be minimized?<br>
><br>
><br>
> For folks who are curious, the new function,<br>
> update_win_preview() defined in compositor.c captures<br>
> the previews. XImage to GdkPixbuf conversion happens<br>
> in the new function, gdk_pixbuf_xlib_get_from_image()<br>
> defined in a new file previews.c.<br>
><br>
><br>
> Will submit patches to the list after I have taken<br>
> care of the bug mentioned above.<br>
><br>
><br>
><br>
> -Sonal<br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
</div></div><div class="HOEnZb"><div class="h5">> _______________________________________________<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>
<br>
<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>
</div></div></blockquote></div><br></div>