diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-05-14 17:23:46 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-05-14 17:23:46 +0200 |
| commit | 109136af97547f35f767dae2e7908ab218dfea11 (patch) | |
| tree | 806d931d2a3d7d04a9a5faecfcf46d5470f1633f /src/helpers/WLClasses.hpp | |
| parent | 694f4433a2b6083cef5a4f43e974f9c70b9857af (diff) | |
Fadein/out now applies to layersurfaces too
Diffstat (limited to 'src/helpers/WLClasses.hpp')
| -rw-r--r-- | src/helpers/WLClasses.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/helpers/WLClasses.hpp b/src/helpers/WLClasses.hpp index 544498f5..9d1cd6df 100644 --- a/src/helpers/WLClasses.hpp +++ b/src/helpers/WLClasses.hpp @@ -5,8 +5,11 @@ #include "../../wlr-layer-shell-unstable-v1-protocol.h" #include "../Window.hpp" #include "SubsurfaceTree.hpp" +#include "AnimatedVariable.hpp" struct SLayerSurface { + SLayerSurface(); + wlr_layer_surface_v1* layerSurface; wl_list link; @@ -22,6 +25,9 @@ struct SLayerSurface { int monitorID = -1; + CAnimatedVariable alpha; + bool fadingOut = false; + bool readyToDelete = false; // For the list lookup bool operator==(const SLayerSurface& rhs) { |
