WMError setSurfaceSize(unsigned surface, const std::string& area);
WMError changeCurrentState(unsigned req_num);
- void
- setTimer();
+ void setTimer();
void stopTimer();
void processNextRequest();
void deactivate(int id);
bool can_split(struct LayoutState const &state, int new_id);
- void try_layout(struct LayoutState &state,
- struct LayoutState const &new_layout,
- std::function<void(LayoutState const &nl)> apply);
private:
std::unordered_map<std::string, struct compositor::rect> area2size;