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

List:       kde-core-devel
Subject:    Re: kdialog and transient windows
From:       Lubos Lunak <l.lunak () suse ! cz>
Date:       2008-08-18 13:32:35
Message-ID: 200808181532.35179.l.lunak () suse ! cz
[Download RAW message or body]

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@suse.cz , l.lunak@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
[prev in list] [next in list] [prev in thread] [next in thread] 

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