Subject: FVWM: How to set Title-bar position for a particular window ?

From: Srivathsa Rao U <[email-masked]>
Date: Thu, 14 Oct 2004 09:33:56 +0530

Hi,
    I am using 2.5.10. How can I set TitleAt/Bottom/Left/Right for
a particular window ? When I use "Style $n TitleAtBottom" on a window
it changes for all same class windows. For Eg. When I run this on one
xterm , this will change the Title position for all the xterm. I
would like to change the title position for only one xterm.
How can I do this?

Below are the part from from my .fvmrc. when I am trying to change
the Title position depending upon the direction of window shade.
This changes the Titlebar position, But it also does this on other
windows.
#-------------------------------------------------------------------
DestroyFunc ResizeRaiseShadeDirection
AddToFunc ResizeRaiseShadeDirection
+ M Resize
+ M Raise
+ C Raise
+ D shade$0

DestroyFunc shadeN
AddToFunc shadeN
+ I WindowShade N
+ I ThisWindow (shaded) Style $n TitleAtTop
+ I ThisWindow (!shaded) Style $n TitleAtTop

DestroyFunc shadeS
AddToFunc shadeS
+ I WindowShade S
+ I ThisWindow (shaded) Style $n TitleAtBottom
+ I ThisWindow (!shaded) Style $n TitleAtTop

DestroyFunc shadeW
AddToFunc shadeW
+ I WindowShade W
#+ I Style $n TitleAtLeft
+ I ThisWindow (shaded) Style $n TitleAtLeft
+ I ThisWindow (!shaded) Style $n TitleAtTop

DestroyFunc shadeE
AddToFunc shadeE
+ I WindowShade E
+ I ThisWindow (shaded) Style $n TitleAtRight
+ I ThisWindow (!shaded) Style $n TitleAtTop

#------------------------------------------------------------------
Mouse 1     -   A       ResizeRaiseShadeDirection N
Mouse 1     [   A       ResizeRaiseShadeDirection W
Mouse 1     ]   A       ResizeRaiseShadeDirection E
Mouse 1     _   A       ResizeRaiseShadeDirection S

Thanx & Rgds,
Srivathsa
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to [email-masked].
To report problems, send mail to [email-masked].