🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.epoch.misc
Article #2042

Re: disabling auto placement

#2042
From: Alan M. Carroll
Date: Tue, 09 Apr 1991 17:00
32 lines
2290 bytes
In article <9104082359.AA01595@hwcae.cfsat.honeywell.com>, rand@HWCAE.CFSAT.HONEYWELL.COM (Douglas K. Rand) writes:
> The first is that I want GWM to place my Epoch windows for me. Be it
> intreactivly, through a hard coded default, or via a strange lisp
> function. I can't seem to dissuade Epoch from placing the window from
> the geometry specification.

This because you specify a location in your .Xdefaults, and so Epoch
tells the WM that the user specified the position. This can be
overridden in GWM, or I can give you a C level patch that will prevent
this, but the patch simply prevents Epoch from ever telling the WM
that the screen has a user specified position.

> 
> The other is the size of the window when I start Epoch. My geometry
> specification is:
> 	Emacs*screen.geometry:	100x58+1+221
> 
> Places the window in the "correct" place, but the size is too small.
> It starts out being 96x56, and I can't figure out why.

Actually, the screen probably is 100x58, but the WM is lying to you,
because of a confusion in various hints. Use (screen-width) and
(screen-height) to get the actual size of the screen.

P.S. Technical note - if compiled under R4, Epoch does set the base
height and width to 0, and sets the PBaseSize bit in the WM hints, but
that doesn't seem to help.

-- 
Alan M. Carroll          <-- Another victim of applied metaphysics
Epoch Development Team   
Urbana Il.               "I hate shopping with the reality-impaired" - Susan
Technical Details
Message-ID: <1991Apr9.170038.28641@m.cs.uiuc.edu>
Path: arc1-ca.pugleaf.net!gmdzi!unido!unidui!math.fu-berlin.de!fauern!ira.uka.de!sol.ctr.columbia.edu!emory!wuarchive!m.cs.uiuc.edu!uiucdcs!carroll
References: <9104082359.AA01595@hwcae.cfsat.honeywell.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fc7ee,2c6c4ff5f120f5e9
X-Google-Attributes: gidfc7ee,public
X-Google-ArrivalTime: 1991-04-09 12:49:47 PST
Path: arc1-ca.pugleaf.net!gmdzi!unido!unidui!math.fu-berlin.de!fauern!ira.uka.de!sol.ctr.columbia.edu!emory!wuarchive!m.cs.uiuc.edu!uiucdcs!carroll
From: carroll@cs.uiuc.edu (Alan M. Carroll)
Newsgroups: gnu.epoch.misc
Subject: Re: disabling auto placement
Message-ID: <1991Apr9.170038.28641@m.cs.uiuc.edu>
Date: 9 Apr 91 17:00:38 GMT
References: <9104082359.AA01595@hwcae.cfsat.honeywell.com>
Sender: news@m.cs.uiuc.edu (News Database (admin-Mike Schwager))
Reply-To: carroll@cs.uiuc.edu (Alan M. Carroll)
Distribution: gnu
Organization: Technophiles Inc. - Engineers with Attitude
Lines: 32
Nntp-Posting-Host: ash.cs.uiuc.edu