Remove transformer from view and remove view from the scale_data map */
| 426 | |
| 427 | /* Remove transformer from view and remove view from the scale_data map */ |
| 428 | void remove_view(wayfire_toplevel_view view) |
| 429 | { |
| 430 | if (!view || !scale_data.count(view)) |
| 431 | { |
| 432 | return; |
| 433 | } |
| 434 | |
| 435 | if (scale_data.at(view).was_minimized) |
| 436 | { |
| 437 | wf::scene::set_node_enabled(view->get_root_node(), false); |
| 438 | } |
| 439 | |
| 440 | for (auto v : view->enumerate_views(false)) |
| 441 | { |
| 442 | check_focus_view(v); |
| 443 | pop_transformer(v); |
| 444 | scale_data.erase(v); |
| 445 | } |
| 446 | } |
| 447 | |
| 448 | /* Process button event */ |
| 449 | void process_input(uint32_t button, uint32_t state, wf::pointf_t input_position) |
no test coverage detected