[Xmonad] darcs patch: WindowNavigation: don't export the confi... (and 3 more)

Stefan O'Rear stefanor at cox.net
Tue Oct 16 18:28:28 EDT 2007


On Tue, Oct 16, 2007 at 06:19:36PM -0400, Devin Mullins wrote:
> On Tue, Oct 16, 2007 at 02:39:42PM -0700, David Roundy wrote:
> > +       Color p _ _ _ _ <- io $ allocColor d cm (Color 0 (mn r1 r2) (mn g1 g2) (mn b1 b2) 0)
> 
> Possibly stupid question -- is there any danger in not freeing the
> alloc'd Color?

On a truecolor system, no.

On a pseudocolor system, you can only alloc so many colors (256 is
typical, but I've seen 64) before it starts failing.

(Consider that Xmonad is marketed as good for low end systems)

Stefan
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://www.haskell.org/pipermail/xmonad/attachments/20071016/9cbbe3ab/attachment.bin


More information about the Xmonad mailing list