Re: update: Re: [dwm] recent changes to dwm (since dwm-3.5)

From: David Tweed <tweed314_AT_yahoo.co.uk>
Date: Tue, 20 Feb 2007 12:41:10 +0000 (GMT)

|Hmm, actually I doubt marking drawtext as non-static will help. |Simply because such a patch should come packed with a |drawtitle(Client *c) function which should be located in main.c |to easily access drawtext instead. This is because the |drawtitle function needs to map the drawed client title anyways |to the client title window (you will also need resizetitle() |anyways). Note: I'm doing this for my own purposes because I really need a list of all visible clients' titles to work effectively; I'm not imagining it for mainstream. I'm experimenting with a different approach of collecting all the titles into one window in the corner, which is why I need to use both nexttiled() and drawtext() in same function. This seems to need only 2 call-sites. This approach is less useful than real on-window titles, but I'm just checking how useful before stripping Ross's solution from his patchset. But I hadn't noticed you've made nexttiled exported, which means my function can probably live in main.c. cheers, dave tweed ___________________________________________________________ Inbox full of unwanted email? Get leading protection and 1GB storage with All New Yahoo! Mail. http://uk.docs.yahoo.com/nowyoucan.html
Received on Tue Feb 20 2007 - 13:41:44 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 14:37:40 UTC