some events

This commit is contained in:
vaxerski
2022-03-17 18:25:16 +01:00
parent a4ef84d987
commit 6e1819b3dc
5 changed files with 138 additions and 18 deletions

18
src/helpers/WLClasses.hpp Normal file
View File

@@ -0,0 +1,18 @@
#pragma once
#include "../events/Events.hpp"
#include "../defines.hpp"
#include "../../wlr-layer-shell-unstable-v1-protocol.h"
struct SLayerSurface {
wlr_layer_surface_v1* layerSurface;
wl_list link;
DYNLISTENER(destroyLayerSurface);
DYNLISTENER(mapLayerSurface);
DYNLISTENER(unmapLayerSurface);
DYNLISTENER(commitLayerSurface);
wlr_box geometry;
zwlr_layer_shell_v1_layer layer;
};