mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-08 10:45:58 +01:00
Vaxry
5edc32930d
Makes all the pointers smart to avoid memory issues Refactors layerSurface code to live inside desktop/layersurface
18 lines
449 B
C++
18 lines
449 B
C++
#include "includes.hpp"
|
|
#include "debug/Log.hpp"
|
|
#include "helpers/WLListener.hpp"
|
|
#include "helpers/Color.hpp"
|
|
#include "macros.hpp"
|
|
|
|
class CWindow;
|
|
class CLayerSurface;
|
|
|
|
/* Shared pointer to a window */
|
|
typedef SP<CWindow> PHLWINDOW;
|
|
/* Weak pointer to a window */
|
|
typedef WP<CWindow> PHLWINDOWREF;
|
|
|
|
/* Shared pointer to a layer surface */
|
|
typedef SP<CLayerSurface> PHLLS;
|
|
/* Weak pointer to a layer surface */
|
|
typedef WP<CLayerSurface> PHLLSREF;
|