| 142 | bool active = false; |
| 143 | |
| 144 | void init() override |
| 145 | { |
| 146 | hook_set = false; |
| 147 | grab = std::make_unique<wf::input_grab_t>(SCALE_TRANSFORMER, output, this, this, this); |
| 148 | |
| 149 | allow_scale_zoom.set_callback(allow_scale_zoom_option_changed); |
| 150 | |
| 151 | setup_workspace_switching(); |
| 152 | |
| 153 | drag_helper->connect(&on_drag_output_focus); |
| 154 | drag_helper->connect(&on_drag_done); |
| 155 | drag_helper->connect(&on_drag_snap_off); |
| 156 | |
| 157 | show_title.init(output); |
| 158 | output->connect(&update_cb); |
| 159 | } |
| 160 | |
| 161 | void setup_workspace_switching() |
| 162 | { |
nothing calls this directly
no test coverage detected