[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[STUMP] Window name truncation
From: |
Manuel Giraud |
Subject: |
[STUMP] Window name truncation |
Date: |
Tue, 02 Nov 2004 20:05:25 +0000 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) |
Hi, here's a quick and dirty patch to support window name truncation in
the echo window:
---8<-----------------------------
cvs diff: Diffing .
Index: core.lisp
===================================================================
RCS file: /cvsroot/stumpwm/stumpwm/core.lisp,v
retrieving revision 1.7
diff -r1.7 core.lisp
68c68
< (window-name w)))
---
> (subseq (window-name w) 0 *window-name-max-length*)))
Index: primitives.lisp
===================================================================
RCS file: /cvsroot/stumpwm/stumpwm/primitives.lisp,v
retrieving revision 1.4
diff -r1.4 primitives.lisp
90a91,94
> (defvar *window-name-max-length* nil
> "Truncate the size of the window name in `default-window-format'
> function. NIL means no truncation.")
>
---8<-----------------------------
--
Manuel Giraud (CNRS/CETP)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [STUMP] Window name truncation,
Manuel Giraud <=