diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-05-10 20:52:32 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-05-10 20:52:32 +0000 |
| commit | c4a5149016c98346bae4ce594d37065bd8f3dcf0 (patch) | |
| tree | 15f8b7c2bcfa7bead77014a0ff11645c307c72fc /openbox/slit.h | |
| parent | 37169289844646c60985f9a77c0bb8935ac98515 (diff) | |
add a slit to the kernel
Diffstat (limited to 'openbox/slit.h')
| -rw-r--r-- | openbox/slit.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/openbox/slit.h b/openbox/slit.h new file mode 100644 index 00000000..f3fce18e --- /dev/null +++ b/openbox/slit.h @@ -0,0 +1,46 @@ +#ifndef __slit_h +#define __slit_h + +#include <glib.h> +#include <X11/Xlib.h> +#include <X11/Xutil.h> + +typedef struct Slit Slit; + +typedef struct SlitApp { + int ignore_unmaps; + + Slit *slit; + Window icon_win; + Window win; + int x; + int y; + int w; + int h; +} SlitApp; + +typedef enum { + SlitPos_Floating, + SlitPos_TopLeft, + SlitPos_Top, + SlitPos_TopRight, + SlitPos_Right, + SlitPos_BottomRight, + SlitPos_Bottom, + SlitPos_BottomLeft, + SlitPos_Left +} SlitPosition; + +extern GHashTable *slit_map; + +void slit_startup(); +void slit_shutdown(); + +void slit_configure_all(); + +void slit_add(Window win, XWMHints *wmhints, XWindowAttributes *attrib); + +void slit_remove_all(); +void slit_remove(SlitApp *app, gboolean reparent); + +#endif |
