Re: How to keep windows from maximizing over the panel




George <jirka@5z.com> writes:

> On Wed, Sep 16, 1998 at 11:45:42AM -0400, Geoff Harrison mandrake" wrote:
> > > then again, this is a policy issue that probably should not be dictated by
> > > the panel, but by the wm ... the panel should only set the hints and let
> > > the wm do the thinking :)
> > 
> > however as long as it's override redirect that's not going to be an option.
> 
> of course .... this isn't really a problem .... all one needs to do is
> to write a function that queries for the XA_WIN hints ... and if they
> are there, it uses them otherwise it uses override redirect ...
> 
> there is one minor problem with this however ... the panel might start
> up before the windowmanager does ... so it might not get an answer

Well, you can select for PropertyNotify on the root window, and
thus detect when a compliant window manager starts up.

In theory, you should be able to switch a window from override
redirect to non-override-redirect on the fly, though I'm
not sure if window managers would react to that nicely. 
(I'm not sure that they would get the proper events to be
able to detect such an occurence either)

Regards,
                                        Owen



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]