From kde-devel Mon Jul 15 00:36:08 2002 From: Dirk Mueller Date: Mon, 15 Jul 2002 00:36:08 +0000 To: kde-devel Subject: Re: QXEmbed reparent patch X-MARC-Message: https://marc.info/?l=kde-devel&m=102669356303303 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(). -- Dirk (68 mails today) >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<