]> icculus.org git repositories - mikachu/openbox.git/blob - openbox/edges.h
Let the menu placement code know if the position was user specified
[mikachu/openbox.git] / openbox / edges.h
1 #ifndef __edges_h
2 #define __edges_h
3
4 #include "window.h"
5
6 typedef enum
7 {
8     OB_EDGE_TOP,
9     OB_EDGE_TOPRIGHT,
10     OB_EDGE_RIGHT,
11     OB_EDGE_BOTTOMRIGHT,
12     OB_EDGE_BOTTOM,
13     OB_EDGE_BOTTOMLEFT,
14     OB_EDGE_LEFT,
15     OB_EDGE_TOPLEFT,
16     OB_NUM_EDGES
17 } ObEdgeLocation;
18
19 typedef struct _ObEdge ObEdge;
20
21 struct _ObEdge
22 {
23     ObWindow obwin;
24     Window win;
25     ObEdgeLocation location;
26 };
27
28 void edges_startup(gboolean reconfigure);
29 void edges_shutdown(gboolean reconfigure);
30 void edges_configure(void);
31
32 #endif