Skip to content

Commit

Permalink
options: remove -F
Browse files Browse the repository at this point in the history
Deprecated in compton, in distant history.

Signed-off-by: Yuxuan Shui <[email protected]>
  • Loading branch information
yshui committed Jan 14, 2024
1 parent 88b92c7 commit bc03339
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 5 deletions.
3 changes: 0 additions & 3 deletions man/picom.1.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
3 changes: 1 addition & 2 deletions src/options.c
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,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
Expand Down Expand Up @@ -414,7 +414,6 @@ bool get_cfg(options_t *opt, int argc, char *const *argv, bool shadow_enable,
case 'O': opt->fade_out_step = normalize_d(atof(optarg)); break;
case 'c': shadow_enable = true; break;
case 'f':
case 'F':
fading_enable = true;
break;
P_CASEINT('r', shadow_radius);
Expand Down

0 comments on commit bc03339

Please sign in to comment.