diff options
author | Vito Caputo <vcaputo@gnugeneration.com> | 2016-08-28 00:36:53 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@gnugeneration.com> | 2016-09-09 14:14:31 -0700 |
commit | 4642216f70dd98134a79f9299b7ca4bc876649c7 (patch) | |
tree | bdf9fd892bc54a2f2a678a9828c6af9d9fc8bed2 /src/launch.h | |
parent | e99f5ac1293a0ae1f498bc4c73c4c04e4edb8665 (diff) |
*: refactor all the things
Long overdue house cleaning.
The addition of compositing/monitoring overlays in vwm3 pushed vwm well past
what is a reasonable size for a simple thousand line file. This is a first
step towards restoring sanity in the code, but no behavioral differences are
intended, this is mostly just shuffling around and organizing code.
I expect some performance regressions initially, follow-on commits will make
more improvements to that end as the dust settles.
Diffstat (limited to 'src/launch.h')
-rw-r--r-- | src/launch.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/launch.h b/src/launch.h new file mode 100644 index 0000000..0e279b0 --- /dev/null +++ b/src/launch.h @@ -0,0 +1,13 @@ +#ifndef _LAUNCH_H +#define _LAUNCH_H + +typedef struct _vwm_t vwm_t; + +typedef enum _vwm_launch_mode_t { + VWM_LAUNCH_MODE_FG, + VWM_LAUNCH_MODE_BG, +} vwm_launch_mode_t; + +void vwm_launch(vwm_t *vwm, char **argv, vwm_launch_mode_t mode); + +#endif |