diff options
author | Richard Grenville <[email protected]> | 2012-09-25 21:04:10 +0800 |
---|---|---|
committer | Richard Grenville <[email protected]> | 2012-09-25 21:08:54 +0800 |
commit | 760188dbefc5ab686af7df091f43852ddccf2ea4 (patch) | |
tree | f8134e2639261f142bbab81fe93accbcf7bbc42d /compton.h | |
parent | 0c67b84349c9408b5dc659a5227d599f7a9ed01f (diff) | |
download | tdebase-760188dbefc5ab686af7df091f43852ddccf2ea4.tar.gz tdebase-760188dbefc5ab686af7df091f43852ddccf2ea4.zip |
Feature: Wintype-specific options in configuration files
- Add support of window-type-specific options (fade, shadow, and
opacity) in configuration file parsing. Syntax shown in
compton.sample.conf.
- Replace wintype_name() with an array of window type names. Code
clean-up.
Diffstat (limited to 'compton.h')
-rw-r--r-- | compton.h | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -274,6 +274,18 @@ static int should_ignore(Display *dpy, unsigned long sequence); /** + * Set a Bool array of all wintypes to true. + */ +static void +wintype_arr_enable(Bool arr[]) { + wintype i; + + for (i = 0; i < NUM_WINTYPES; ++i) { + arr[i] = True; + } +} + +/** * Allocate the space and copy a string. */ static inline char * |