diff options
| author | allusive-dev <[email protected]> | 2023-10-31 20:00:04 +1100 |
|---|---|---|
| committer | allusive-dev <[email protected]> | 2023-10-31 20:00:04 +1100 |
| commit | 6af7735fbec073d4a7cf6193edad9e64f34f4984 (patch) | |
| tree | 9c6218dd66f4d04e80c15948af60a00361b2a858 /src/options.c | |
| parent | Change for #13 (diff) | |
| download | compfy-6af7735fbec073d4a7cf6193edad9e64f34f4984.tar.xz compfy-6af7735fbec073d4a7cf6193edad9e64f34f4984.zip | |
Resolved wrong animations playing. At the cost of deprecating not working features.1.2.0
Diffstat (limited to 'src/options.c')
| -rw-r--r-- | src/options.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/options.c b/src/options.c index c102042..c3eccab 100644 --- a/src/options.c +++ b/src/options.c @@ -181,7 +181,7 @@ static const struct picom_option picom_options[] = { {"animation-window-mass", required_argument, 807, NULL, "window mass"}, {"animation-clamping", no_argument, 808, NULL, "clamping"}, {"animation-for-open-window", required_argument, 809, NULL, "open window animation"}, - {"animation-for-transient-window", required_argument, 810, NULL, "transient window animation"}, + // {"animation-for-transient-window", required_argument, 810, NULL, "transient window animation"}, {"animation-for-unmap-window", required_argument, 811, NULL, "unmap window animation"}, {"corners-rule", required_argument, NULL, 812, "rounded corner rules"}, {"blur-rule", required_argument, NULL, 813, "blur rules"}, @@ -762,16 +762,16 @@ bool get_cfg(options_t *opt, int argc, char *const *argv, bool shadow_enable, } break; } - case 810: { - // --animation-for-transient-window - enum open_window_animation animation = parse_open_window_animation(optarg); - if (animation >= OPEN_WINDOW_ANIMATION_INVALID) { - log_warn("Invalid transient-window animation %s, ignoring.", optarg); - } else { - opt->animation_for_transient_window = animation; - } - break; - } + // case 810: { + // // --animation-for-transient-window + // enum open_window_animation animation = parse_open_window_animation(optarg); + // if (animation >= OPEN_WINDOW_ANIMATION_INVALID) { + // log_warn("Invalid transient-window animation %s, ignoring.", optarg); + // } else { + // opt->animation_for_transient_window = animation; + // } + // break; + // } case 811: { // --animation-for-unmap-window enum open_window_animation animation = parse_open_window_animation(optarg); |