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/config.c | |
| parent | Change for #13 (diff) | |
| download | compfy-1.2.0.tar.xz compfy-1.2.0.zip | |
Resolved wrong animations playing. At the cost of deprecating not working features.1.2.0
Diffstat (limited to 'src/config.c')
| -rw-r--r-- | src/config.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/config.c b/src/config.c index 2ae855b..605cde8 100644 --- a/src/config.c +++ b/src/config.c @@ -746,14 +746,14 @@ void set_default_winopts(options_t *opt, win_option_mask_t *mask, bool shadow_en mask[i].animation_unmap = OPEN_WINDOW_ANIMATION_INVALID; opt->wintype_option[i].animation_unmap = OPEN_WINDOW_ANIMATION_INVALID; } - if (!mask[i].animation_workspace_in) { - mask[i].animation_workspace_in = OPEN_WINDOW_ANIMATION_INVALID; - opt->wintype_option[i].animation_workspace_in = OPEN_WINDOW_ANIMATION_INVALID; - } - if (!mask[i].animation_workspace_out) { - mask[i].animation_workspace_out = OPEN_WINDOW_ANIMATION_INVALID; - opt->wintype_option[i].animation_workspace_out = OPEN_WINDOW_ANIMATION_INVALID; - } + // if (!mask[i].animation_workspace_in) { + // mask[i].animation_workspace_in = OPEN_WINDOW_ANIMATION_INVALID; + // opt->wintype_option[i].animation_workspace_in = OPEN_WINDOW_ANIMATION_INVALID; + // } + // if (!mask[i].animation_workspace_out) { + // mask[i].animation_workspace_out = OPEN_WINDOW_ANIMATION_INVALID; + // opt->wintype_option[i].animation_workspace_out = OPEN_WINDOW_ANIMATION_INVALID; + // } if (!mask[i].clip_shadow_above) { mask[i].clip_shadow_above = true; opt->wintype_option[i].clip_shadow_above = false; @@ -830,10 +830,10 @@ char *parse_config(options_t *opt, const char *config_file, bool *shadow_enable, .animations = true, .animation_for_open_window = OPEN_WINDOW_ANIMATION_ZOOM, - .animation_for_transient_window = OPEN_WINDOW_ANIMATION_ZOOM, + // .animation_for_transient_window = OPEN_WINDOW_ANIMATION_NONE, .animation_for_unmap_window = OPEN_WINDOW_ANIMATION_ZOOM, - .animation_for_workspace_switch_in = OPEN_WINDOW_ANIMATION_ZOOM, - .animation_for_workspace_switch_out = OPEN_WINDOW_ANIMATION_ZOOM, + // .animation_for_workspace_switch_in = OPEN_WINDOW_ANIMATION_NONE, + // .animation_for_workspace_switch_out = OPEN_WINDOW_ANIMATION_NONE, .animation_stiffness = 100.0, .animation_window_mass = 0.5, .animation_dampening = 10, |