Re: FVWM: Managing unmanaged windows

From: Tim Phipps <Tim_Phipps_at_bigfoot.com>
Date: Wed, 07 Jun 2000 17:14:43 +0100

Neil Bird wrote:
> I suspect I ought to use XRestackWindows, but I only get BadWindow
> errors. I think that's something to do with the windows not being
> 'siblings' (I've not found a useful definition of that), and that, under
> FVWM (or any WM) the 'parent' window is really a collection of windows
> holding borders and the like (as revealed by xlswins -l).

Sibling window have the same parent. The parent of your
override-redirect window will be the root window and the parent of your
normal client will be an fvwm window so you won't be able to use
XRestack on them both.
>
> Anyone any pointers? I do have /an/ X window-id for the parent and for
> the override-redirect window, which I believe correspond to the actual
> client windows (underneath all the WM gubbins).

Well, you could use XQueryTree() recursively to find the window that is
a child of the root and is an ancestor of your normal client (under fvwm
it is the grandparent of the client, other window managers are
different). You can restack these two but be aware that fvwm may get
confused or it may restack them itself in a different order. i.e. don't
expect this to work for long.

Cheers,
Tim.


>
> --
> =====================- http://www.racaldefence.com/ -===================
> Neil Bird |
> | If this .signature looks pants,
> mailto:neil.bird_at_rdel.co.uk | then just stop using Outlook!
> --
> Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
> To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
> message to majordomo_at_fvwm.org.
> To report problems, send mail to fvwm-owner_at_fvwm.org.
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Wed Jun 07 2000 - 11:15:11 BST

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