| 431 | // ----------------------------------------------------------------------- |
| 432 | |
| 433 | void Window::PrivateData::focus() |
| 434 | { |
| 435 | if (view == nullptr) |
| 436 | return; |
| 437 | |
| 438 | if (! isEmbed) |
| 439 | puglRaiseWindow(view); |
| 440 | |
| 441 | puglGrabFocus(view); |
| 442 | } |
| 443 | |
| 444 | // ----------------------------------------------------------------------- |
| 445 |
no test coverage detected