diff options
| author | Dana Jansens <danakj@orodu.net> | 2003-04-05 17:22:01 +0000 |
|---|---|---|
| committer | Dana Jansens <danakj@orodu.net> | 2003-04-05 17:22:01 +0000 |
| commit | bca8082d6d09a16a116c70001469a576b93157ce (patch) | |
| tree | 2e8c8bd22e8a1d5cdbdf3c4c20c7b5b78a4cf935 /openbox/frame.h | |
| parent | 831db744f4c023bd0478631a6050c394497bb2ea (diff) | |
use a context enum instead of quarks
Diffstat (limited to 'openbox/frame.h')
| -rw-r--r-- | openbox/frame.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/openbox/frame.h b/openbox/frame.h index ec530934..fb492d8c 100644 --- a/openbox/frame.h +++ b/openbox/frame.h @@ -4,6 +4,28 @@ #include "geom.h" #include "client.h" +typedef enum { + Context_None, + Context_Root, + Context_Client, + Context_Titlebar, + Context_Handle, + Context_Frame, + Context_BLCorner, + Context_BRCorner, + Context_TLCorner, + Context_TRCorner, + Context_Maximize, + Context_AllDesktops, + Context_Shade, + Context_Iconify, + Context_Icon, + Context_Close, + NUM_CONTEXTS +} Context; + +Context frame_context_from_string(char *name); + typedef struct Frame { Client *client; |
