diff options
| author | allusive-dev <[email protected]> | 2023-09-28 10:20:49 +1000 |
|---|---|---|
| committer | allusive-dev <[email protected]> | 2023-09-28 10:20:49 +1000 |
| commit | e24b8ed0b48138ceacb7715b9e267ee57db76535 (patch) | |
| tree | c1d5d6a7d49d8ba18b16ba7720e225c58096c8a2 /src/win.c | |
| parent | Update README.md (diff) | |
| download | compfy-0.3.tar.xz compfy-0.3.zip | |
Diffstat (limited to 'src/win.c')
| -rw-r--r-- | src/win.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -457,6 +457,10 @@ static void init_animation(session_t *ps, struct managed_win *w) { animation = ps->o.animation_for_workspace_switch_in; } + if (c2_match(ps, w, ps->o.animation_open_blacklist, NULL)) { + animation = OPEN_WINDOW_ANIMATION_NONE; + } + switch (animation) { case OPEN_WINDOW_ANIMATION_AUTO: case OPEN_WINDOW_ANIMATION_NONE: { // No animation @@ -572,6 +576,10 @@ static void init_animation_unmap(session_t *ps, struct managed_win *w) { animation = ps->o.wintype_option[w->window_type].animation_unmap; } + if (c2_match(ps, w, ps->o.animation_unmap_blacklist, NULL)) { + animation = OPEN_WINDOW_ANIMATION_NONE; + } + if (ps->root_desktop_switch_direction != 0) { if (ps->o.animation_for_workspace_switch_out == OPEN_WINDOW_ANIMATION_AUTO) animation = OPEN_WINDOW_ANIMATION_SLIDE_OUT; |