🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.x
Article #36501

Re: xterm windows height/width reported as height-1/width-1

#36501
From: Bob Scheifler
Date: Wed, 07 Feb 1990 14:18
19 lines
1206 bytes
    XGetSizeHints masks of all the flags it gets back from the server except
    (USPosition|USSize|PAllHints).  It turns out that PAllHints doesn't
    include PBaseSize (or PWinGravity for that matter).

XGetSizeHints is now a compatibility routine (check the R4 Xlib manual),
it still returns only the information that was in R3, not any of the new
ICCCM info.

    Why doesn't PAllHints include PBaseSize???  Is this a bug??

PAllHints is obsolete in R4.  Adding new values to it could break
source compatibility for old code.  PAllHints was left with its R3
definition by design.

    If it isn't a bug, how should uwm be getting hints that include PBaseSize?

uwm should be thrown away.  But failing that, uwm should be calling
XGetWMSizeHints instead.
Technical Details
Message-ID: <9002071418.AA00251@expire.lcs.mit.edu>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!snorkelwacker!bloom-beacon!EXPO.LCS.MIT.EDU!rws
References: <47638@lll-winken.LLNL.GOV>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!snorkelwacker!bloom-beacon!EXPO.LCS.MIT.EDU!rws
From: rws@EXPO.LCS.MIT.EDU (Bob Scheifler)
Newsgroups: comp.windows.x
Subject: Re: xterm windows height/width reported as height-1/width-1
Message-ID: <9002071418.AA00251@expire.lcs.mit.edu>
Date: 7 Feb 90 14:18:50 GMT
References: <47638@lll-winken.LLNL.GOV>
Sender: daemon@athena.mit.edu (Mr Background)
Organization: The Internet
Lines: 19