On Thu, Feb 14, 2008 at 03:19:10PM +0800, Rommel Martinez wrote:

> >  > I hope I won't be asking too much with this next question. Is it
> >  > possible for you to lend a hand in doing what I have long wished for,
> >  > that is to have numbered tabs without anti-aliasing? How should I do
> >  > it? What files should I edit?
> >
> >  IIRC, the only file you need to look at for this is src/tabbar.c.
> >
> >  Let me know how it goes,
> 
> After what seemed like endless searching, I gave up on searching
> what controls the presence of number in tabs.
> 
> May you please help me? :-)
> 
> Thanks in advance.

Line 529 in src/tabbar.c (the call to rxvt_percent_interpolate). If you
have "%n. %t" in title_format, rxvt_percent_interpolate will number the
tab, and if the function returns true, then the new title will be copied
into the current tab's title (line 540).

As you will see, the problem is that if you just delete lines 524, 526,
527, and 534 Mrxvt will number the tabs (provided of course you have %n.
%t in your title format). The problem is that when the tabs are not of
constant width (as is the case when not using a proportionally spaced
font), mrxvt doesn't draw the tabs properly if you call
rxvt_percent_interpolate.

You should either add support to draw tab titles with a proportionally
spaced X font (similar to the style with Xft), or find some other way to
work around this problem.

GI

PS: Keep your communication on the dev list. Perhaps someone else will
    help out too.

-- 
What's the definition of a will? (It's a dead giveaway.)

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Materm-devel mailing list
Materm-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/materm-devel
mrxvt home page: http://materm.sourceforge.net

Reply via email to