On 25 November 2012 19:30, clamiax <smo...@gmail.com> wrote: > Why don't provide an external lib, like libdraw, which provide an > interactive bar which read/write data from/to somewhere and share it between > dwm, tabbed, dmenu, etc. etc.?
An external bar would require an interface with all of the apps you listed. The purpose of draw.c is to provide some drawing routines to those apps you listed -- as they will usually draw different things, but with the same routines. This is the simplest and sanest code re-use we can achieve, but there is not much room for more re-use left. Best regards, Anselm