Conf: Add [rules] section. (Feature #34 requested by markand CHACHA) clients option, autofree and automax option are DEPRECATED but works for some revision.

This commit is contained in:
Martin Duquesnoy
2010-08-10 02:40:06 +02:00
parent 7a1bfb48f5
commit a496d77f9e
5 changed files with 96 additions and 1 deletions

View File

@@ -350,8 +350,25 @@ typedef struct
{
char *name;
char *content;
char *role;
int screen;
int tag;
Bool free;
Bool max;
} Alias;
/* Rule struct */
typedef struct
{
char *class;
char *instance;
char *role;
int screen;
int tag;
Bool free;
Bool max;
} Rule;
/* Configuration structure */
typedef struct
{
@@ -460,6 +477,7 @@ typedef struct
Layout layout[NUM_OF_LAYOUT];
Menu *menu;
Launcher *launcher;
Rule *rule;
int *ntag;
Bool tag_round;
Bool client_round;
@@ -472,6 +490,7 @@ typedef struct
int nlayout;
int nmenu;
int nlauncher;
int nrule;
} Conf;
typedef struct