anchor.diff:            state = state.copyWith(focused: false);
             _idleTimer?.cancel();
             _idleTimer = Timer(const Duration(seconds: 5), () async {
  -            final visible = await windowManager.isVisible();
  -            if (mounted & !visible) {
  +            if (mounted) {
                 state = state.copyWith(active: false);
               }
             });
  
positive.code: import 'dart:async';
  
  import 'package:logging/logging.dart';
  import 'package:flutter_riverpod/flutter_riverpod.dart';
  
negative.code:           break;
          case 'restore':
            state = state.copyWith(visible: true, active: true);
            _idleTimer?.cancel();
            break;
          default:
            _log.fine('Window event ignored: $eventName');
  