[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: QXEmbed reparent patch
From:       George Staikos <staikos () kde ! org>
Date:       2002-07-15 0:56:31
[Download RAW message or body]

On July 14, 2002 20:36, Dirk Mueller wrote:
> On Son, 14 Jul 2002, Till Krech wrote:
> > The trick is, to retry to XReparentWindow the window for up to 50 times
> > with slight delays (usleep(1000)) and look if it has already the required
> > parent with XQueryTree.
>
> ewww.. both hardcoded usleeps and XQueryTree's are awful. XQueryTree is
> terrible slow.
>
> I think what you're looking for is a syncX().

  It already had a call to that in the code.  (look at the patch and you will 
see it)  Perhaps it was in the wrong place though?

-- 

George Staikos

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic