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

List:       kde-devel
Subject:    Re: KDE3 krunner always shows on head 1 and forces apps onto that
From:       Lubos Lunak <l.lunak () suse ! cz>
Date:       2008-02-07 14:32:36
Message-ID: 200802071532.36462.l.lunak () suse ! cz
[Download RAW message or body]

On Wednesday 06 of February 2008, Andreas Pakulat wrote:
> On 05.02.08 15:05:40, Lubos Lunak wrote:
> > On Tuesday 05 of February 2008, Andreas Pakulat wrote:
> > > On 05.02.08 08:20:34, Thiago Macieira wrote:
> > > > Andreas Pakulat wrote:
> > > > >No, I'm talking about that little component in KDE3 that comes up
> > > > > when I hit Alt+F2. I'm not talking about KDE4. I thought it was
> > > > > called the same in kde3...
> > > >
> > > > Ah, that's why we were confused. That component is called minicli and
> > > > is part of kdesktop.
> > > >
> > > > And I can tell you it works fine in TwinView. It shows up in the
> > > > screen where the mouse is.
> > >
> > > Hmm, I'm using Xinerama (or rather XRandR 1.2), any hint where I should
> > > start looking code-wise? Or is this something that KWin should handle?
> >
> >  http://ktown.kde.org/~seli/xinerama/ maybe?
>
> Apparently the problem is that
>
> NETRootInfo i( qt_xdisplay(), NET::Supported );
> if( !i.isSupported( NET::WM2FullPlacement )) ) ...
>
> evaluates to false. Any hint why that happens, or wether the condition
> is wrong maybe?

 xprop -root | grep _NET_SUPPORTED . Only KWin from KDE4 or with those patches 
supports it.

> If the condition is correct, then I fear there's an error in kwin, as
> all that happens after that is a simple show(). And minicli itself is a
> plain KDialog with WType_TopLevel set and thats about it.

 That's right. Qt and KWin are patched to take care of the placement, see the 
placement-related code in Client::manage() in kwin/manage.cpp .

-- 
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
 
>> 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