From 6d4eaec81119fd1f948ab14ee6007087c65e6e31 Mon Sep 17 00:00:00 2001 From: Yuxuan Shui Date: Sun, 14 Jan 2024 16:55:33 +0000 Subject: [PATCH] options: remove -F Deprecated in compton, in distant history. Signed-off-by: Yuxuan Shui --- man/picom.1.asciidoc | 3 --- src/options.c | 3 +-- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/man/picom.1.asciidoc b/man/picom.1.asciidoc index dbd3ec6984..b5df2a7892 100644 --- a/man/picom.1.asciidoc +++ b/man/picom.1.asciidoc @@ -49,9 +49,6 @@ OPTIONS *-f*, *--fading*:: Fade windows in/out when opening/closing and when opacity changes, unless *--no-fading-openclose* is used. -*-F*:: - Equals to *-f*. Deprecated. - *-i*, *--inactive-opacity*='OPACITY':: Opacity of inactive windows. (0.1 - 1.0, defaults to 1.0) diff --git a/src/options.c b/src/options.c index 834b66f0a9..fecf06ace8 100644 --- a/src/options.c +++ b/src/options.c @@ -306,7 +306,7 @@ static void usage(const char *argv0, int ret) { } } -static const char *shortopts = "D:I:O:r:o:m:l:t:i:e:hscnfFCazGb"; +static const char *shortopts = "D:I:O:r:o:m:l:t:i:e:hscnfCazGb"; /// Get config options that are needed to parse the rest of the options /// Return true if we should quit @@ -426,7 +426,6 @@ bool get_cfg(options_t *opt, int argc, char *const *argv, bool shadow_enable, opt->wintype_option[WINTYPE_DROPDOWN_MENU].opacity = tmp; break; case 'f': - case 'F': fading_enable = true; break; P_CASEINT('r', shadow_radius);