diff options
author | Vito Caputo <vcaputo@gnugeneration.com> | 2016-09-09 14:20:28 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-09-09 14:20:28 -0700 |
commit | a1aba8e0fe5c94ebf04258b609666c92b756954f (patch) | |
tree | fe9792b77766e31728b1d2d04d2461858ef45443 /src/context.h | |
parent | e99f5ac1293a0ae1f498bc4c73c4c04e4edb8665 (diff) | |
parent | 8ef5fccc1ad2f5acb5530a438de631153e4ad945 (diff) |
Merge pull request #6 from vcaputo/clean_house
House cleaning
Diffstat (limited to 'src/context.h')
-rw-r--r-- | src/context.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/context.h b/src/context.h new file mode 100644 index 0000000..1604bd3 --- /dev/null +++ b/src/context.h @@ -0,0 +1,14 @@ +#ifndef _CONTEXT_H +#define _CONTEXT_H + +typedef struct _vwm_t vwm_t; + +typedef enum _vwm_context_t { + VWM_CONTEXT_DESKTOP = 0, /* focus the desktop context */ + VWM_CONTEXT_SHELF, /* focus the shelf context */ + VWM_CONTEXT_OTHER /* focus the other context relative to the current one */ +} vwm_context_t; + +int vwm_context_focus(vwm_t *vwm, vwm_context_t desired_context); + +#endif |