function monitor_focus_window() {
  const window = global.display.focus_window;

  if (window === null) {
    return disconnect_focus_window_signals();
  }

  if (monitorWindow !== window) {
    disconnect_focus_window_signals();
    connect_focus_window_signals(window);
  }
}
// Monitors the current focus window for property changes.
Monitors the current focus window for property changes.
Monitors the current focus window for property changes .
function monitor_focus_window() {
  const window = global.display.focus_window;
  if (window === null) {
    return disconnect_focus_window_signals();
  }
  if (monitorWindow !== window) {
    disconnect_focus_window_signals();
    connect_focus_window_signals(window);
  }
}
function monitor_focus_window ( ) { const window = global . display . focus_window ; if ( window === null ) { return disconnect_focus_window_signals ( ) ; } if ( monitorWindow !== window ) { disconnect_focus_window_signals ( ) ; connect_focus_window_signals ( window ) ; } }
Monitors the current focus window for property changes.
Monitors the current focus window for property changes .