> I like the idea of having this feature in st, and your patch is simple > because you only move a function from one place to another, but could > you explain a bit why moving the function from draw to xdraws makes > w3mimgdisplay work?
Before this patch draw() calls drawregion which calls xdraws and then updates whole window in one call thus overdrawing anything drawn by w3mimgdisplay. After moving XCopyArea to xdraws it only updates the regions which are being updated by XftDraw* functions. It may do a few more calls to XCopyArea with this patch, but I haven't noticed any side effects. Amadeusz