| 229 | } |
| 230 | |
| 231 | void OnMouseLoop() override |
| 232 | { |
| 233 | /* Disallow closing the window too easily, if timeout is disabled */ |
| 234 | if (_right_button_down && !this->is_critical) this->Close(); |
| 235 | } |
| 236 | |
| 237 | void Close([[maybe_unused]] int data = 0) override |
| 238 | { |