From 71badb0790c8595a0ab6dedfbf8027c698369210 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Tue, 8 Apr 2003 07:31:26 +0000 Subject: move config option loading for the kernel into config.c/h add options for the number of desktops and the names of the desktops --- openbox/config.h | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 openbox/config.h (limited to 'openbox/config.h') diff --git a/openbox/config.h b/openbox/config.h new file mode 100644 index 00000000..0dceb920 --- /dev/null +++ b/openbox/config.h @@ -0,0 +1,39 @@ +#ifndef __config_h +#define __config_h + +#include + +/*! Should new windows be focused */ +extern gboolean config_focus_new; +/*! Focus windows when the mouse enters them */ +extern gboolean config_focus_follow; +/*! Focus the last focused window as a fallback */ +extern gboolean config_focus_last; +/*! Focus the last focused window as a fallback when switching desktops */ +extern gboolean config_focus_last_on_desktop; + +/*! The engine to load */ +extern char *config_engine_name; +/*! The theme to load */ +extern char *config_engine_theme; +/*! The titlebar layout */ +extern char *config_engine_layout; +/*! The titlebar font */ +extern char *config_engine_font; +/*! The titlebar font's shadow */ +extern gboolean config_engine_shadow; +/*! The titlebar font's shadow offset */ +extern int config_engine_shadow_offset; +/*! The titlebar font's shadow transparency */ +extern int config_engine_shadow_tint; + +/*! The number of desktops */ +extern int config_desktops_num; +/*! Names for the desktops */ +extern GSList *config_desktops_names; + + +void config_startup(); +void config_shutdown(); + +#endif -- cgit v1.2.3