Fadein/out now applies to layersurfaces too
This commit is contained in:
parent
694f4433a2
commit
109136af97
11 changed files with 153 additions and 15 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue