| 254 | } |
| 255 | |
| 256 | void input_pressed(uint32_t state) |
| 257 | { |
| 258 | if (state != WLR_BUTTON_RELEASED) |
| 259 | { |
| 260 | return; |
| 261 | } |
| 262 | |
| 263 | input_grab->ungrab_input(); |
| 264 | output->deactivate_plugin(&grab_interface); |
| 265 | |
| 266 | if (view) |
| 267 | { |
| 268 | end_wobbly(view); |
| 269 | |
| 270 | wf::view_change_workspace_signal workspace_may_changed; |
| 271 | workspace_may_changed.view = this->view; |
| 272 | workspace_may_changed.to = output->wset()->get_current_workspace(); |
| 273 | workspace_may_changed.old_workspace_valid = false; |
| 274 | output->emit(&workspace_may_changed); |
| 275 | } |
| 276 | } |
| 277 | |
| 278 | // Convert resize edges to gravity |
| 279 | uint32_t calculate_gravity() |
nothing calls this directly
no test coverage detected