Re: different window raise behaviour with xquartz under twm and icewm
Re: different window raise behaviour with xquartz under twm and icewm
- Subject: Re: different window raise behaviour with xquartz under twm and icewm
- From: Cameron Simpson <email@hidden>
- Date: Sun, 22 Dec 2013 09:33:04 +1100
On 17Dec2013 16:20, Brandon Allbery <email@hidden> wrote:
> On Tue, Dec 17, 2013 at 4:04 PM, Eeri Kask
> <email@hidden>wrote:
> > f.raise calls XRaiseWindow()
> > f.lower calls XLowerWindow()
> > f.raiselower calls XConfigureWindow () with "CWStackMode" set to
> > "Opposite".
> >
> > That's it. Don't know what icewm does, maybe it fiddles with
> > XAppleWMSetWindowLevel()
> > or something, in order to impose some "rules"?
>
> Possibly, although my guess would be XRestackWindows(). This probably slaps
> all X11 windows into the same "layer" relative to Aqua windows, and
> probably does *not* relocate that layer to the top of the OS X window
> stack. XRaiseWindow() is more likely to raise an individual window over
> other windows, X11 or Aqua.
Your guess is correct. Icewm appears to maintain a data structure
of lots of window layers; a "raise" manipulates this structure and
then calls wmmgr.cc's restack method which assembles a call to
XRestackWindows().
We're not making use of icewm's layers here, so some horrible hack like
inserting a strategic XRaiseWindow() may suffice to get what we're after.
My attempts to build icewm-1.2.2 (which may retain the behaviour
we liked) meet with obscure autoconf related pre-Makefile failure
(indeed, also with other modern versions). Annoying, and xmkmf seems
long dead - a pity - it was easy to use. I can install it but it
fails with complaints about configuration info:-(
Still digging.
Thanks for the xscope suggestion - potentially very useful; though
I had forgotten how much noise goes on in X11 - I have some
transcript pruning to do.
Will report back when I learn some more.
I also have pointer focus issues to tackle after this; again behaving
as desired in twm, but not in (modern) icewm (superficially in
violation of icewm's own documention). Fun fun fun...
Thanks,
--
Cameron Simpson <email@hidden>
No, Sir. I don't think its safe to look at the speedometer when I'm going
that fast.
- Tom Coradeschi <email@hidden>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden