| 460 | } |
| 461 | |
| 462 | bool Win32ControlUnitMgr::inactive() |
| 463 | { |
| 464 | LogFunc; |
| 465 | |
| 466 | if (background_keyboard_) { |
| 467 | background_keyboard_->inactive(); |
| 468 | } |
| 469 | if (screencap_) { |
| 470 | screencap_->inactive(); |
| 471 | } |
| 472 | if (mouse_) { |
| 473 | mouse_->inactive(); |
| 474 | } |
| 475 | if (keyboard_ && keyboard_ != mouse_) { |
| 476 | keyboard_->inactive(); |
| 477 | } |
| 478 | |
| 479 | return true; |
| 480 | } |
| 481 | |
| 482 | json::object Win32ControlUnitMgr::get_info() const |
| 483 | { |