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.h | |
| 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.h')
| -rw-r--r-- | src/config.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/config.h b/src/config.h index b2d3958..2664435 100644 --- a/src/config.h +++ b/src/config.h @@ -49,8 +49,8 @@ enum open_window_animation { OPEN_WINDOW_ANIMATION_SLIDE_DOWN, OPEN_WINDOW_ANIMATION_SLIDE_LEFT, OPEN_WINDOW_ANIMATION_SLIDE_RIGHT, - OPEN_WINDOW_ANIMATION_SLIDE_IN, - OPEN_WINDOW_ANIMATION_SLIDE_OUT, + // OPEN_WINDOW_ANIMATION_SLIDE_IN, + // OPEN_WINDOW_ANIMATION_SLIDE_OUT, OPEN_WINDOW_ANIMATION_INVALID, }; @@ -65,8 +65,8 @@ typedef struct win_option_mask { bool clip_shadow_above : 1; enum open_window_animation animation; enum open_window_animation animation_unmap; - enum open_window_animation animation_workspace_in; - enum open_window_animation animation_workspace_out; + // enum open_window_animation animation_workspace_in; + // enum open_window_animation animation_workspace_out; } win_option_mask_t; typedef struct win_option { @@ -200,14 +200,14 @@ typedef struct options { /// Which animation to run when opening a window enum open_window_animation animation_for_open_window; /// Which animation to run when opening a transient window - enum open_window_animation animation_for_transient_window; + // enum open_window_animation animation_for_transient_window; /// Which animation to run when unmapping (e.g. minimizing) a window enum open_window_animation animation_for_unmap_window; /// Which animation to run when switching workspace /// IMPORTANT: will only work if window manager updates /// _NET_CURRENT_DESKTOP before doing the hide/show of windows - enum open_window_animation animation_for_workspace_switch_in; - enum open_window_animation animation_for_workspace_switch_out; + // enum open_window_animation animation_for_workspace_switch_in; + // enum open_window_animation animation_for_workspace_switch_out; /// Spring stiffness for animation double animation_stiffness; /// Window mass for animation |