Add XTerm handoff runtime diagnostics

This commit is contained in:
Storm Dragon
2026-07-28 23:33:22 -04:00
parent fd426eb274
commit 28984449e0
2 changed files with 16 additions and 0 deletions
+8
View File
@@ -227,6 +227,14 @@ class InputEventManager:
"paused": self._paused,
"secure_input_active": self._secure_input_active,
"suspended_xterm_script_present": self._scriptWithSuspendedGrabsForXterm is not None,
"xterm_focus_monitor_active": self._xtermFocusHandlerId != 0,
"xterm_recovery_timer_active": self._xtermRecoverySourceId != 0,
"last_ewmh_active_window_id": (
hex(self._lastEwmhActiveWindowId)
if self._lastEwmhActiveWindowId is not None
else ""
),
"last_ewmh_xterm_match": self._lastEwmhXtermMatch,
"last_input_event_present": self._last_input_event is not None,
"last_non_modifier_key_event_present": self._last_non_modifier_key_event is not None,
}