// std::vector<unsigned> getRenderOrder(const std::string& layer_name);
WMError updateLayer(LayerState& layer_state);
WMError renderLayers();
+ WMError setXDGSurfaceOriginSize(unsigned surface);
// WMError renderWMLayers();
void undoUpdate();
WMError layoutChange(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);
+ 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);
unsigned screenID;
struct ilmScreenProperties screen_prop;
double scaling;
+ int offset_x;
+ int offset_y;
LayerControlCallbacks cb;
};