[Xquartz-dev] geometry regression in 2.3.2-beta3

Jeremy Huddleston jeremyhu at apple.com
Tue Nov 11 21:24:56 PST 2008


On Nov 11, 2008, at 21:13, Tom Lane wrote:

> Jeremy Huddleston <jeremyhu at apple.com> writes:
>> It works for me:
>> ~ $ emacs -geometry 80x61-0+0
>> ~ $ emacs --version
>> GNU Emacs 22.3.1
>
> Well, I'd be the first to admit that I'm using an ancient Emacs  
> (19.34.1
> actually) ... but I wouldn't expect it to break between beta2 and  
> beta3.

So what's happening here is we've added support for window gravity for  
placement... so there *might* be a bug there... I need to look into  
exactly what that ancient emacs is doing...

Can you run quartz-wm with DEBUG=1 in your environment.  I do this  
with this ~/.xinitrc:

export DEBUG=1
. /usr/X11/lib/X11/xinit/xinitrc >& ${HOME}/xinitrc-debug.txt

---

Then just start up X11, run emacs and send me your ~/xinitrc-debug.txt  
(it might not have all the info I need, so I may need to send you  
another quartz-wm to drop in and get me more debugging info)...

Could you also bzip2 that emacs binary and send it to me.  I'll try to  
get it to run on one of my linux boxes to reproduce the problem myself.

> In any case there are some points here that make me think you've
> got a pretty small value of "work":
>
>>   -geometry 80x61-0-20
>
> This doesn't match the requested value.
>
>>   Bit gravity: NorthWestGravity
>>   Window gravity: NorthWestGravity
>>       Program supplied window gravity: NorthWestGravity

> Shouldn't the window gravity be northeast given the -0+0 position
> request?  On mine, I see the program supplied gravity that way.

Yeah... so I think emacs might be doing something "smart" rather than  
using gravity in my version... which led me to think that there might  
be a gravity bug still...


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3221 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/xquartz-dev/attachments/20081111/e2fce10a/attachment-0001.bin>


More information about the Xquartz-dev mailing list