From 46d162cec9edb9d4ce8172f946af4c09cdf08e63 Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Fri, 9 Nov 2018 21:03:53 +0000 Subject: [PATCH] Print useful message when clear-shadow is used Points the user to the full-shadow per window type option. Signed-off-by: Yuxuan Shui --- src/compton.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/compton.c b/src/compton.c index 5e22b5c..8f75796 100644 --- a/src/compton.c +++ b/src/compton.c @@ -4038,7 +4038,9 @@ get_cfg(session_t *ps, int argc, char *const *argv, bool first_pass) { ps->o.frame_opacity = atof(optarg); break; case 'z': - printf_errf("(): clear-shadow is removed, shadows are automatically cleared now."); + printf_errf("(): clear-shadow is removed, shadows are automatically cleared now.\n" + "If you want to prevent shadow from been cleared under certain types of windows,\n" + "you can use the \"full-shadow\" per window type option."); break; case 'n': case 'a':