aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/wm_layer_control.cpp8
-rw-r--r--src/wm_layer_control.hpp5
2 files changed, 7 insertions, 6 deletions
diff --git a/src/wm_layer_control.cpp b/src/wm_layer_control.cpp
index bb3bfc2..0028fca 100644
--- a/src/wm_layer_control.cpp
+++ b/src/wm_layer_control.cpp
@@ -46,14 +46,14 @@ static void surfaceCallback_static(t_ilm_surface surface,
struct ilmSurfaceProperties* surface_prop,
t_ilm_notification_mask mask)
{
- g_lc_ctxt->dispatchPropertyChangeEvent(surface, surface_prop, mask);
+ g_lc_ctxt->dispatchSurfacePropChangeEvent(surface, surface_prop, mask);
}
static void layerCallback_static(t_ilm_layer layer,
struct ilmLayerProperties* layer_prop,
t_ilm_notification_mask mask)
{
- g_lc_ctxt->dispatchPropertyChangeEvent(layer, layer_prop, mask);
+ g_lc_ctxt->dispatchLayerPropChangeEvent(layer, layer_prop, mask);
}
LayerControl::LayerControl(const std::string& root)
@@ -470,7 +470,7 @@ void LayerControl::dispatchCreateEvent(ilmObjectType object, unsigned id, bool c
}
}
-void LayerControl::dispatchPropertyChangeEvent(unsigned id,
+void LayerControl::dispatchSurfacePropChangeEvent(unsigned id,
struct ilmSurfaceProperties* sprop,
t_ilm_notification_mask mask)
{
@@ -502,7 +502,7 @@ void LayerControl::dispatchPropertyChangeEvent(unsigned id,
}
}
-void LayerControl::dispatchPropertyChangeEvent(unsigned id,
+void LayerControl::dispatchLayerPropChangeEvent(unsigned id,
struct ilmLayerProperties* lprop,
t_ilm_notification_mask mask)
{
diff --git a/src/wm_layer_control.hpp b/src/wm_layer_control.hpp
index a458f2f..7a283b9 100644
--- a/src/wm_layer_control.hpp
+++ b/src/wm_layer_control.hpp
@@ -84,8 +84,9 @@ class LayerControl
// 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);
+ void dispatchSurfacePropChangeEvent(unsigned id, struct ilmSurfaceProperties*, t_ilm_notification_mask);
+ void dispatchLayerPropChangeEvent(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);