Implement animations
Squashed all the stuff: init Update README.md options performance Animation no longer jumps if started in the middle of an animation Doubled default transition length Minor bugfix, preformance Track x and y separately to aviod jumping in mid-animation repositioning Added video to readme docs docs fixed graphical glitch with non-transparent windows now animates window scaling too (but only if the window grows) added options for size transitions and actually respect the new options.. and actually respect the new options.. added center-spawn option added center-spawn-screen option fixed center spawn added no-scale-down goofed remember old windows remember old windows docs fixed shadow fixed shadow fixed shadow fixed shadow lost no-scale-down due to revert lost spawn-center due to revert Fixed #2 fix missing window borders
This commit is contained in:
committed by
Martin T. H. Sandsmark
parent
fd6ff8264c
commit
51fdb8bcaa
18
src/config.h
18
src/config.h
@@ -87,6 +87,24 @@ typedef struct options {
|
||||
bool glx_no_stencil;
|
||||
/// Whether to avoid rebinding pixmap on window damage.
|
||||
bool glx_no_rebind_pixmap;
|
||||
/// Length of window transitions
|
||||
int transition_length;
|
||||
/// For smoothing on the x-coordinate of window animations
|
||||
float transition_pow_x;
|
||||
/// For smoothing on the y-coordinate of window animations
|
||||
float transition_pow_y;
|
||||
/// For smoothing on the width of window animations
|
||||
float transition_pow_w;
|
||||
/// For smoothing on the height of window animations
|
||||
float transition_pow_h;
|
||||
/// Wether to animate on window size change
|
||||
bool size_transition;
|
||||
/// Wether to scale new windows in from the center of the screen
|
||||
bool spawn_center_screen;
|
||||
/// Wether to scale new windows in from their center
|
||||
bool spawn_center;
|
||||
/// Does not animate downscaling
|
||||
bool no_scale_down;
|
||||
/// Custom fragment shader for painting windows, as a string.
|
||||
char *glx_fshader_win_str;
|
||||
/// Whether to detect rounded corners.
|
||||
|
||||
Reference in New Issue
Block a user