Re: reparenting toplevel windows crash



On Tue, 2003-12-09 at 16:28, Matthias Clasen wrote:
> > With current nautilus i get a lot of crashes in the event loop.
> > This happens because there is a freed pointer in the xid hash, due to a
> > toplevel window being reparented to a child window, leaving the freed
> > toplevel->focus_window in the hash table.
> > 
> > The attached patch fixes it for me. 
> 
> That is bug 117579, right ?

Yes. It seems to be.

Really, the handling of reparenting changing to/from toplevels isn't
handled that well. For instance, no focus_window is created when
reparenting to a toplevel window.

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a war-weary day-dreaming barbarian gone bad. She's a green-fingered 
junkie hooker on her way to prison for a murder she didn't commit. They fight 
crime! 




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