On 03 Mar 2004 10:02:20 +0100, Arne Georg Gleditsch wrote:
> 
> I like to enumerate my windows so that I can quickly jump to any one
> of them using hotkeys.  I also like to keep every window's enumerated
> id in the title bar for easy visual access.  To this end, I'd like to
> submit the follwing patch.  It adds a command "WindowNameSuffix",
> which given a window id and text string will set up this text string
> as a fixed suffix that will always appear in the titlebar of the given
> window.
> 
> I'm not sure if this ought to be generalized more; i.e let the given
> string be a sprintf pattern where %s is expanded to the application-
> set window title or something.  I'll be happy to make alterations that
> make the patch more acceptable.

I think WindowNameSuffix is not a good solution to the problem. We should
use existing window field visible_name for this and have a new command
like WindowNameFormat (just escape "$" if run under window context):

  WindowNameFormat "( $[w.name] )"

(or VisibleWindowNameFormat).

Regards,
Mikhael.
--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to