ratpoison-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[RP] [PATCH] defwinliststyle column and current window highlighting


From: Doug Kearns
Subject: [RP] [PATCH] defwinliststyle column and current window highlighting
Date: Sat Jul 19 21:25:02 2003
User-agent: Mutt/1.4i

The current window line highlighting is incorrect when defwinliststyle
is set to 'column' and defbarpadding is > 0.

Regards,
Doug

Index: src/bar.c
===================================================================
RCS file: /cvsroot/ratpoison/ratpoison/src/bar.c,v
retrieving revision 1.43
diff -u -r1.43 bar.c
--- src/bar.c   2 Jun 2003 22:49:36 -0000       1.43
+++ src/bar.c   20 Jul 2003 04:14:30 -0000
@@ -444,7 +444,7 @@
     }
 
   *x = start;
-  *y = (start_line - 1) * FONT_HEIGHT (defaults.font);
+  *y = (start_line - 1) * FONT_HEIGHT (defaults.font) + defaults.bar_y_padding;
   *height = (end_line - start_line + 1) * FONT_HEIGHT (defaults.font);
 }




reply via email to

[Prev in Thread] Current Thread [Next in Thread]