kdialog and transient windows

Lubos Lunak l.lunak at suse.cz
Mon Aug 18 14:32:35 BST 2008

On Monday 18 of August 2008, John Tapsell wrote:
> Hi,
>  I'm trying to add an  --embed <winid>   option to kdesu, so that it
> can be attached to another window, but i'm not having much luck.
>  I'm trying simply to call  XSetTransientForHint(
> QX11Info::display(), dlg.winId(), winid );     to set dlg to be a
> transient window of winid (which is passed in).  But it's just not
> doing anything.

 Do not use that, use KWindowSystem::setMainWindow() instead, that one works.

>  I can't even get the kdialog app to embed, so the kdialog app also
> seems to be broken.  Any ideas?

 Changed this too, works now.

Lubos Lunak
KDE developer
SUSE LINUX, s.r.o.   e-mail: l.lunak at suse.cz , l.lunak at kde.org
Lihovarska 1060/12   tel: +420 284 028 972
190 00 Prague 9      fax: +420 284 028 951
Czech Republic       http://www.suse.cz

More information about the kde-core-devel mailing list