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

List:       kwin
Subject:    Re: kde window management
From:       Lubos Lunak <l.lunak () suse ! cz>
Date:       2005-03-07 9:23:15
Message-ID: 200503071023.16045.l.lunak () suse ! cz
[Download RAW message or body]

On Sunday 06 of March 2005 10:03, Stefan Walkner wrote:
> hello,
>
> I asked at the kde-forum
> (http://www.kde-forum.org/thread.php?threadid=9636) to get some information
> about how/where kde handles the windows/screens.
>
> I'm going to write writing a "screenmanager" who should make it possible to
> move a window from one screen to another screen.

 What exactly is a screen here? Xinerama screen, dualhead screen?

>
>  I'm already able to get all opened windows by using the KWinModule class.
>
>  But now I would like to move the windows (without animation - just moving
> them from a -> b).
>  Therefore I search through the whole google db and the kde api and
> searched for some example code in kdebase and kdelibs (kcontrol xinerama
> extension...)... But I don't find the right class for solving this problem.
>
>  I found out that the NETWinInfo gives me some infor about the window
> (given by WId)...
>
>  Could please anyone give me a hint how this can be realized? Some class
> names, file names from kdebase/kdelibs or whatever...

 Classes KWin, KWinModule and the NET* classes from libkdecore should be all 
needed.

>
>  Another question is: how does kde sends the screen information to the
> xserver?

 It doesn't. It's the XServer's problem, not KDE's. KDE only reads the 
information from the XServer.

> would it be possible to enable/disable the xinerama extension via 
> kde? I asked at the xorg mailing list but a developer told me that dynamic
> module loading/unloading is not implemented yet...

-- 
Lubos Lunak
KDE developer
---------------------------------------------------------------------
SuSE CR, s.r.o.  e-mail: l.lunak@suse.cz , l.lunak@kde.org
Drahobejlova 27  tel: +420 2 9654 2373
190 00 Praha 9   fax: +420 2 9654 2374
Czech Republic   http://www.suse.cz/
_______________________________________________
Kwin mailing list
Kwin@kde.org
https://mail.kde.org/mailman/listinfo/kwin
[prev in list] [next in list] [prev in thread] [next in thread] 

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