Clean up the wintype option logic
I just realized wintype option shadow and fade never worked. If you set the global shadow option to true, wintype shadow option will have no effect. Now the wintype options will properly override the global ones. Also remove deprecated options from compton.sample.conf. Signed-off-by: Yuxuan Shui <yshuiv7@gmail.com>
This commit is contained in:
@ -33,10 +33,8 @@ parse_cfg_condlst(session_t *ps, const config_t *pcfg, c2_lptr_t **pcondlst,
|
||||
const char *name);
|
||||
|
||||
void
|
||||
parse_config(session_t *ps, struct options_tmp *pcfgtmp);
|
||||
parse_config(session_t *ps, bool *shadow_enable,
|
||||
bool *fading_enable, win_option_mask_t *winopt_mask);
|
||||
#else
|
||||
static inline void parse_config(session_t *a, struct options_tmp *b) {
|
||||
(void)a;
|
||||
(void)b;
|
||||
}
|
||||
static inline void parse_config() {}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user