[compiz] Bug with kde applications and damageWindowRect wrapping...

David Reveman davidr at novell.com
Wed Apr 18 09:18:44 PDT 2007


On Wed, 2007-04-18 at 10:58 +0200, Danny Baumann wrote:
> Hi,
> 
> > > If someone can confirm this bug ...
> > > Run this in an xterm with smart placement method: 
> > > while true; do konsole & sleep 1; killall konsole; done
> > > 
> > > Look at the screen, you should randomly see the bug at konsole window
> > > mapping...
> > 
> > The placement plugin is broken. It shouldn't place windows when they
> > first appear but instead when we get the map request and before they are
> > mapped.
> > 
> > This bug is only visible in kde apps as kde doesn't support the sync
> > request protocol.
> 
> So you mean something like the attached patch?
> Let me know if it's correct and it works for you - it does for me ;-)

Something like that but I think we want this to hook in after we've
applied the startup properties (event.c:1868) and we'll have to add a
PlaceWindowProc screen function to do that properly.

- David



More information about the compiz mailing list