----------------------- resize tile controller --------------------------- */
| 142 | |
| 143 | /* ----------------------- resize tile controller --------------------------- */ |
| 144 | resize_view_controller_t::resize_view_controller_t(wf::workspace_set_t *wset, wayfire_toplevel_view) |
| 145 | { |
| 146 | this->last_point = get_global_input_coordinates(wset->get_attached_output()); |
| 147 | this->grabbed_view = find_view_at(get_root(wset, wset->get_current_workspace()), last_point); |
| 148 | this->output = wset->get_attached_output(); |
| 149 | |
| 150 | if (this->grabbed_view) |
| 151 | { |
| 152 | this->resizing_edges = calculate_resizing_edges(last_point); |
| 153 | horizontal_pair = this->find_resizing_pair(true); |
| 154 | vertical_pair = this->find_resizing_pair(false); |
| 155 | } |
| 156 | } |
| 157 | |
| 158 | resize_view_controller_t::~resize_view_controller_t() |
| 159 | {} |
nothing calls this directly
no test coverage detected