Re: [wmii] wmiimenu menu length

From: Nico Golde <nico_AT_ngolde.de>
Date: Wed, 10 May 2006 15:24:48 +0200

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.
Regards Nico

-- 
Nico Golde - JAB: nion_AT_jabber.ccc.de | GPG: 0x73647CFF
http://www.ngolde.de | http://www.muttng.org | http://grml.org
Forget about that mouse with 3/4/5 buttons -
gimme a keyboard with 103/104/105 keys!

Received on Wed May 10 2006 - 15:25:42 UTC

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