[1795] in testers

home help back first fref pref prev next nref lref last post

Re: Emacs/twm positioning problems: patch

daemon@ATHENA.MIT.EDU (daemon@ATHENA.MIT.EDU)
Wed Aug 7 08:58:04 1991

To: testers@MIT.EDU
Cc: ckclark@MIT.EDU, kevles@MIT.EDU, belville@MIT.EDU
From: Chris VanHaren <vanharen@MIT.EDU>
Date: Wed, 07 Aug 91 08:58:05 BST

> (In response to transactions [1710] and [1775] in the testers discuss
> meeting.) 
> 
> Twm is one of those windowmanagers which demands clients to set their
> window gravity.  X Toolkit Applications, like xterm, often choose a
> different window gravity based upon the signs of the initial geometry
> specification.  The following patch to emacs will allow windows to be
> positioned in a reasonable fashion with negative x or y coordinates in
> the geometry string.  It turns out that the Console window also has the
> same problem (which is why I have forwarded this reply to you, Chris.)
> The problem can be seen more easily if you set "BorderWidth" to a large
> number, like 30, in your .twmrc.

Thanks for the report.  I know that console acts strangely in this
manner -- it was intentional, in fact.  It used to be the case that mwm
would make the console window slowly creep across the screen if mwm were
restarted numerous times.  The workaround was to force console to always
have NorthWest gravity, even if the geometry spec would have normally
given some other gravity.  I never thought about how it might affect
other windowmanagers, though...

Anyway, it appears that the mwm in the 7.3 release no longer has the
problem with the creeping console, so I will submit the patch to remove
the forcing of NW gravity (fortunately, it is just a resource, so it
only involves removing one line from the resource file...  :-).

						-C.

home help back first fref pref prev next nref lref last post