Re: FVWM: Re: titlebutton pixmaps

From: Charles Hines <>
Date: Fri, 19 Apr 1996 17:13:01 -0400

>>>>> "Andrew" == Andrew Veliath <veliaa_at_rpi.edu> writes:


>>> if you specify 2 pixmaps, the second is the "pressed in" one,
>>> but you only see it while it's actually pressed in. Using
>>> FullPixmap removes the border, so this toggle ability that I
>>> was referring to would be all that would be needed to get what
>>> you want.

Chris> Not exactly. What's need is pixmaps for four button states:
Chris> normal (not clicked-on), un-maximized depressed,
Chris> un-maximized normal, maximized depressed, maximized

Perhaps my approach is 'not exactly' but it's probably close enough.

Chris> I suppose you could replace "maximized" with "sticky" or
Chris> any other on/off window state.

Correct. I would want it to be general, perhaps even disconnected
from the function entirely to help keep it simple.

Chris> But... that leads to a bug in the way fvwm deals with
Chris> button decorations: fvwm assumes that minimize and maximize
Chris> are always on buttons 4 and 2. Because of this, three
Chris> problems result:

I mentioned this in my initial note actually, saying that would need
to be redone.

Andrew> There are a lot of details (and complications) that arise when
Andrew> trying to implement something like this.

Yup.

Andrew> I think the best thing to do would give Charles some time to
Andrew> see what he thinks is best (discussion is good though).

Discussion is always good.

Andrew> I think he would want the solution to be as small, unintrusive
Andrew> and generic as possible. Usually simple, but generic ideas
Andrew> end up being the most flexible and bug-free.

Very true, on all points.

Andrew> I think MWM-like operation would be good, and it would be more
Andrew> conformant to FVWM's operation as well, however a first
Andrew> implementation (such as Chuck described previously) IMHO is
Andrew> okay.

I think so too.

Andrew> Getting too complicated too early leads to all sorts of
Andrew> problems.

True again.

Chuck
--
Visit the official FVWM web page at <URL:http://www.hpc.uh.edu/fvwm/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_hpc.uh.edu.
To report problems, send mail to fvwm-owner_at_hpc.uh.edu.
Received on Fri Apr 19 1996 - 16:10:37 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:58 BST