Re: FVWM: window flags bitfield

From: Bob Woodside <proteus_at_pcnet.com>
Date: Thu, 11 Dec 1997 01:26:49 -0500 (EST)

On 10-Dec-97 Dan Espen wrote:

> Maybe I'm confused. There are flags in the WindowList structure, and
> flags in the name_list (Style flags) structure. The bits serve
> different purposes in each. In both cases, it looks like all the bits
> are used up....

        Yes, this is a major stumbling block for development that goes far
beyond the Style problem, though that's what seems to get the most
attention. The reason the poor old flag word in the FvwmWindow struct is
so overloaded is that it's being used for two unrelated things: window
*style*, and window *state*, which is even more important to the
functioning of a window manager (even though that's not where the
sex-appeal is at). I think the two really ought to be divorced from one
another somehow. And a style flag struct of some sort that's common to
both the style (but not specific window) related code and the window
related code would be really nice.

        Whatever is decided for the style flags, the same treatment should
probably be accorded the state-related flags - whether it's a bit-field
struct or some other solution. And whatever is done will affect every bit
of code, style-related or not, that ever looks at SomeOldWin->flags. Lotta
grunt work to be done there. 'Tain't glamorous, but I'll happily volunteer
to do some of it, whenever the design's finalized.

        I still tend to favor the bit-field approach, but more on that in
another note.


        - Bob


--
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 Thu Dec 11 1997 - 00:32:33 GMT

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:38:01 BST