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

List:       kde-devel
Subject:    Re: QXEmbed reparent patch
From:       George Staikos <staikos () kde ! org>
Date:       2002-07-16 14:30:35
[Download RAW message or body]

On Tuesday 16 July 2002 09:28, Kuba Ober wrote:
> On poniedziałek 15 lipiec 2002 10:04 pm, Till Krech wrote:
> > Hi,
> >
> > On Monday 15 July 2002 02: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().
> >
> > looked, tried, whereever I place it - it changes nothing.
>
> Maybe flushX() and then syncX(), otherwise it makes no big sense -- since
> the queueud xlib requests may not have went to the server, so the sync
> waits for finishing of an arbitrary subset of your requests, rather than
> all of them.
>
> Dunno if this will help in this case though.

  There is a flushX call before that too.

-- 

George Staikos

 
>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<
[prev in list] [next in list] [prev in thread] [next in thread] 

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