Announcing introspector.el, for examining faces, extents, etc.

Glynn Clements glynn at gclements.plus.com
Wed Mar 12 23:24:59 EDT 2008


Stephen J. Turnbull wrote:

>  > > - frame-utils.el, providing two functions to create frames with
>  > > minimal decorations, such as would be useful with tooltips and the
>  > > like.  Unfortunately, under 21.4 I've found a focus problem (the tip
>  > > frame should not get keyboard focus, but it does) and a decoration
>  > > problem (I can't get the title bar to disappear).
>  > 
>  > The title bar is there under Windows (cygwin)
> 
> Somebody who knows Windows will have to deal with that.
> 
>  > and 21.5 too.
> 
> Not on my Debian system (fvwm), my Gentoo system (fluxbox), or either
> of my Macs (fluxbox and aquawm, respectively).  I don't see how it
> could happen, as override_redirect is enforced by Xlib AFAIK.

override_redirect is enforced by the X server. If a window has that
flag, create/move/resize requests are handled directly by the X server
regardless of any redirects.

It doesn't strictly prevent the WM (or anything else) from reparenting
the window, but the WM won't get notified of its creation (and even if
it did, wouldn't attempt to reparent it; you wouldn't want tooltips
and popup menus getting decorated).

The first thing I would check would be whether the override-redirect
Lisp property is actually resulting in the window having the
override_redirect flag set.

Assuming that it isn't, the next step would be to check the value of
the XtNoverrideRedirect resource on the Shell widget with editres,
i.e. whether the problem is in the conversion from Lisp to Xt, or from
Xt to X.

[I don't have 21.5 installed here, so I can't immediately check this.]

-- 
Glynn Clements <glynn at gclements.plus.com>



More information about the XEmacs-Beta mailing list