aboutsummaryrefslogtreecommitdiffstats
path: root/src/wm_layer_control.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wm_layer_control.hpp')
-rw-r--r--src/wm_layer_control.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/wm_layer_control.hpp b/src/wm_layer_control.hpp
index db482bf..e2c4b18 100644
--- a/src/wm_layer_control.hpp
+++ b/src/wm_layer_control.hpp
@@ -54,6 +54,9 @@ class LayerControlCallbacks {
class WMLayer;
class LayerState;
+class WMAction;
+class WMClient;
+
class LayerControl
{
public:
@@ -73,12 +76,16 @@ class LayerControl
WMError updateLayer(LayerState& layer_state);
WMError commitChange();
void undoUpdate();
+ WMError layoutChange(const WMAction& action);
+ WMError visibilityChange(const WMAction &action);
// Don't use this function.
void dispatchCreateEvent(ilmObjectType object, unsigned id, bool created);
void dispatchPropertyChangeEvent(unsigned id, struct ilmSurfaceProperties*, t_ilm_notification_mask);
void dispatchPropertyChangeEvent(unsigned id, struct ilmLayerProperties*, t_ilm_notification_mask);
private:
+ WMError makeVisible(const std::shared_ptr<WMClient> client);
+ WMError makeInvisible(const std::shared_ptr<WMClient> client);
WMError loadLayerSetting(const std::string& path);
WMError loadAreaDb(const std::string& path);