Re: [wmii] wmiimenu menu length

From: Anselm R. Garbe <garbeam_AT_wmii.de>
Date: Wed, 10 May 2006 15:35:00 +0200

On Wed, May 10, 2006 at 03:24:48PM +0200, Nico Golde wrote:
> Hallo Anselm,
>
> * Anselm R. Garbe <garbeam_AT_wmii.de> [2006-05-10 15:20]:
> > On Wed, May 10, 2006 at 03:13:50PM +0200, Nico Golde wrote:
> > > * Anselm R. Garbe <garbeam_AT_wmii.de> [2006-05-10 14:55]:
> > > > On Wed, May 10, 2006 at 09:26:10AM +0200, Nico Golde wrote:
> [...]
> > > > There is no sane solution for such problems except avoiding to
> > > > write extremely long items to wmiimenu.
> > >
> > > What about cutting the string if strlen(buffer) > width in
> >
> > What is 'width'?
>
> the width of the wmiimenu or rect.width in code (if i
> understood this X stuff with a quick look right). I mean
> just cut the string at position the wmiimenu ends.

I think things are more tricky... But I'll think if we can get a
simpler solution...

-- 
 Anselm R. Garbe  ><><  www.ebrag.de  ><><  GPG key: 0D73F361
Received on Wed May 10 2006 - 15:35:00 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:04:46 UTC