ratpoison-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [RP] Re: Another fix


From: John Meacham
Subject: Re: [RP] Re: Another fix
Date: Tue Jul 15 14:18:25 2003
User-agent: Mutt/1.4.1i

Ah. there apears to be something in the XFree86 4.3 Xlib which fixes the
problem for xterm. 
4.3 xlib + any xterm  + any server works
4.2.1 xlib + any xterm + any server doesn't work
        John


On Tue, Jul 15, 2003 at 05:47:38AM -0700, John Meacham wrote:
> Yeah, it was determined to be a xterm bug by the ion-devel people at
> some point. I am just curious why it always occurs on one of my machines
> and never on the other. both versions of xterm act the same on each
> system. the only thing i can think of is that xfree 4.3 orders/generates
> events somewhat differently than 4.2. AFAIK the problem is caused by
> xterm generating SIGWINCHs on ConfigureNotify's. however if during a
> substructure redirect the window is just created at a different size
> then it never gets a configurenotify since the configuration never
> changed. (even though it is different than xterm expects). there are
> several work arounds i can think of, 
> 
> 1) XSendEvent a ConfigureNotify to windows after creation if their size
> does not match their requested size. this might not work if the app
> ignores user events.
> 2) create the window in its asked for size, then resize it. if this is
> done when the window is unmapped it should not cause any visual
> artifacts. (hopefully the server won't optimize these away, we might
> have to sprinkle some XSyncs in there)
> 3) figure out why it works properly on my home machine and duplicate
> that :). (I'll handle this prong of the attack) 
>         John
> 
> PS. it should be noted that gvim has the same bug, set guiheadroom=0
> does fix it, but that is just treating the symtom, the underlying bug is
> still there. I will notify the appropriate vim folks.

-- 
---------------------------------------------------------------------------
John Meacham - California Institute of Technology, Alum. - address@hidden
---------------------------------------------------------------------------



reply via email to

[Prev in Thread] Current Thread [Next in Thread]