1UNTITLED                             LOCAL                            UNTITLED
2

NAME

4     glutSetWindowStayOnTop — Set stay on top mode for current window
5

LIBRARY

7     OpenGLUT - experimental
8

SYNOPSIS

10     #include <openglut.h>
11
12     void
13     glutSetWindowStayOnTop(int enable);
14

PARAMETERS

16      enable  Either  GL_TRUE  or  GL_FALSE
17

DESCRIPTION

CAVEATS

20     Does not work on all window managers.
21
22     Sends the Icewm style message to all window managers (KDE, twm, blackbox,
23     ratpoison, amiwm, and whatever others you have).  Can we detect Icewm
24     reliably and only send the Icewm formatted message for Icewm?  Possibbly
25     harmless as it stands, but looks wrong.
26

TODO

28     Can a glutGet() be defined to tell us whether a window can be made to
29     stay on top?  Or whether a window has (successfully) been marked for
30     staying on top?
31
32     Should walk the tree of menus and glutPopWindow() (or all windows that
33     are of menu-window type?).
34
35     Investigate making a workalike variant using glutPopWindow() to mimic the
36     feature where not directly supported.
37
38                                     Epoch
Impressum