diff options
Diffstat (limited to 'src/wm_layer_control.hpp')
-rw-r--r-- | src/wm_layer_control.hpp | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/src/wm_layer_control.hpp b/src/wm_layer_control.hpp index fa7c7cb..fef71ff 100644 --- a/src/wm_layer_control.hpp +++ b/src/wm_layer_control.hpp @@ -46,9 +46,10 @@ class LayerControlCallbacks { // callback functions std::function<void(unsigned, unsigned)> surfaceCreated; std::function<void(unsigned)> surfaceDestroyed; - /* std::function<void(unsigned)> surfaceDestroyed; + /* std::function<void(unsigned)> layerCreated; - std::function<void(unsigned)> layerDestroyed; */ + std::function<void(unsigned)> layerDestroyed; + */ }; class WMLayer; @@ -71,19 +72,14 @@ class LayerControl void setupArea(const rectangle& base_rct, double scaling); Screen getScreenInfo(); double scale(); - // void setRenderOrder(const std::vector<unsigned> layer_render_order); - // std::vector<unsigned> getAllRenderOrder(); - // std::vector<std::shared_ptr<WMLayer>>& getAllLayers(); - // std::vector<unsigned> getRenderOrder(const std::string& layer_name); WMError updateLayer(LayerState& layer_state); WMError renderLayers(); WMError renderLayersRemote(); WMError setXDGSurfaceOriginSize(unsigned surface); - // WMError renderWMLayers(); void undoUpdate(); WMError layoutChange(const WMAction& action); WMError visibilityChange(const WMAction &action); - void terminateApp(const std::shared_ptr<WMClient> client); + void appTerminated(const std::shared_ptr<WMClient> client); // Don't use this function. void dispatchCreateEvent(ilmObjectType object, unsigned id, bool created); @@ -115,4 +111,4 @@ class LayerControl LayerControlCallbacks cb; }; -} // namespace wm +} // namespace wm
\ No newline at end of file |