aboutsummaryrefslogtreecommitdiffstats
path: root/src/wm_layer.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wm_layer.hpp')
-rw-r--r--src/wm_layer.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/wm_layer.hpp b/src/wm_layer.hpp
index ac74530..6cfd9c2 100644
--- a/src/wm_layer.hpp
+++ b/src/wm_layer.hpp
@@ -23,6 +23,8 @@
#include <memory>
#include "wm_error.hpp"
+struct json_object;
+
namespace wm
{
@@ -79,6 +81,7 @@ class WMLayer
{
public:
WMLayer();
+ WMLayer(json_object* j);
~WMLayer() = default;
unsigned getNewLayerID(const std::string& role);
LayerState getLayerState() const { return before_state; }