Re: [dev] [PATCH] Make w3mimgdisplay work with st

From: Amadeusz Sławiński <>
Date: Sat, 11 Jan 2014 12:31:57 +0100

> 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

Received on Sat Jan 11 2014 - 12:31:57 CET

This archive was generated by hypermail 2.3.0 : Sat Jan 11 2014 - 12:36:06 CET