Re: TOP_LEVEL_WINDOWS order of the window messager



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tue, Nov 28, 2006 at 11:50:53AM +0800, sunzysjzri wrote:
hi, 
how to change the TOP_LEVEL_WINDOWS order of the windows manager?
I want reorder the windows stack of Xserver to reliase the function "window switch", i got the 
client list of window manager, but how to reorder it ?
send an event or use Xlibs API ? 

Is that for a window in your application? Then see gtk_window_set_keep_above() [1].

If you want to play with all windows, then you'd better read on ICCCM [2].

Note that you can only ask the window manager to do something. Some
window managers will follow your advise, some not (and there are even
ones which never stack windows, so there is no "above" or "below").

Personally, I prefer window managers which follow *my* advice first and
the application's second. But it is a matter of taste, that's why there
are many window managers.

- ----------------
[1] <http://developer.gnome.org/doc/API/2.0/gtk/GtkWindow.html#gtk-window-set-keep-above>
[2] <http://tronche.com/gui/x/icccm/>
regards
- -- tomÃs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFFbU0hBcgs9XrR2kYRAhHZAJ4z0kuBpHuRdkXdTEDrVWaYjQwvgQCePKFe
H7p38KuDfHexiqvs6t4EPaI=
=lEbk
-----END PGP SIGNATURE-----




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]