Karl M. Hegbloom wrote:
> Karl> Any way XEmacs could just accept the size the WM
gives it,
> Karl> and adjust a border width dynamically?
>
> Looks pretty unlikely for 21.4. While I'm not an X expert, I can't
> even see an obvious place to do the change; my guess is that it will
> involve a bunch of changes to our geometry management.
Hmm. Perhaps the place for that kind of thing is really in the WM
anyhow, since the similar could happen with other applications as well?
I wonder why it has never happened to me with anything else? Probably
just because the only other char cell sized app I ever run is the
terminal...
Or because XEmacs appears to be jumping through more hoops than other
cell-sized apps.
Read the comments at the top of src/EmacsShell-sub.c. They probably
won't improve your understanding about what's actually going on, but
they may at least reduce the desire to understand it (it did for me).
If you are actually interested, it appears that defining
DEBUG_GEOMETRY_MANAGEMENT would produce a fair amount of relevant
information. OTOH, the fact that the programmer saw a need to add that
feature may also be considered relevant information.
--
Glynn Clements <glynn.clements(a)virgin.net>