summaryrefslogtreecommitdiff
path: root/src/context.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/context.h')
-rw-r--r--src/context.h14
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
© All Rights Reserved