On Thu, 13 Jul 2006 11:34:58 +1000, "Scott Smedley" <[EMAIL PROTECTED]>
said:
> Hi David,
> 
> > I'm trying to find out how to have multiple windows sharing the same frame.
> > I'm playing with FvwmTabs but I also want to experiment with a simpler
> > implementation on my own.
> 
> Simpler? Hmmmm.
> 
I just want to get four functions working - add, next, close and detatch
tab.
That is enough functionality for what I want to do. I want to see what
would
be possible if it was integrated into fvwm.

It would remove the need to create a tabber first - just join any two
windows
together; and also remove the second title bar - it could be integrated
into the
main one. The aim would be to make it transparent to the user rather
than
offering alot of functionality and configuration. It's just an idea I
wanted to
play around with based on how pekwm does this.

> 
> You need to use XSetInputFocus().

The client window does get input focus and works normally, except that
the
frame decor isn't changed when the focus does. The event handlers aren't
called so I can't think of anywhere to put this that would work. I also
think
that it is a problem with events in general and not just input focus.

The thing I don't understand is how the second client is different from
the first.
When they are selected, they are both equal to fw->wins.client. They
have the
same parent, the same FvwmContext and similar setting from add_window.

-- 
David

-- 
http://www.fastmail.fm - A no graphics, no pop-ups email service


Reply via email to