In a couple of previous message I asked about the possibility of
varying the titlebar button style per window.  I am glad to report
that I have figured out how to do it.  I use fvwm's "State" boolean
flags to keep track of each window's state.  Then I change the
button's decorations according to its state.  Works pretty
nicely, although the corresponding script is an ugly hack.

I have placed a screenshot in

    http://www.math.umbc.edu/~rouben/fvwm-screenshot.png

Titlebar buttons on the right side of the titlebar perform the
following actions:

   maximize to fill screen
   maximize vertically
   maximize horizontally
   window shade
   iconify

Each one (except the iconify button) acts as a toggle.  When 
the button is in toggled state, its color changes from green
to red.

-- 
Rouben Rostamian <[EMAIL PROTECTED]>
--
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 PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to