> Forgive my ignorance of anything more than the basics of xlib stuff here,
> I've read the XReparentWindow and related man pages, but I'd like to double
> check i'm heading in the right direction..
> 
> I had assumed there was some reason why when I swallowed a window with
> FvwmButtons (or Scott's FvwmTabs) it wouldnt get ConfigureNotify events
> when moved (double checked with xev -window ..),

The reason is that the swallowed window doe not move relative to
its parent.  When a decorated window is moved, fvwm sends a
synthetic ConfigureNotify event to the client, but FvwmButtons
does not do this (for whatever reason).

> not a big problem but it
> meant that things like transparent terminals didnt work properly...but
> messing around today, it seems pretty easy to pass the events to the
> swallowed windows and it works exactly how I'd expect...am I missing
> something?

This was simply forgotten when implementing FvwmButtons.

> Is it worth submiting the patch?

Yes.

> Should it be optional, eg Swallow(PassEvents, UseOld, etc...).

Some applications may do funny things if they see the
ConfigureNotiy event, but they would already do so when they are
swallowed initially.  So I'd say an option is not necessary.

Ciao

Dominik ^_^  ^_^

 --
Dominik Vogt, [EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]

Attachment: pgpKbEyg4n1rK.pgp
Description: PGP signature

Reply via email to