From c9636b2fcdfd33aac97b806ad273a219ead4a1fc Mon Sep 17 00:00:00 2001 From: Jeremy Shen Date: Fri, 12 Jun 2026 14:18:49 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"fix:=20UART=20window=20stability=20on?= =?UTF-8?q?=20Windows=20=E2=80=94=20lift/focus,=20remove=20stray=20grab=5F?= =?UTF-8?q?release"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 4ef1ce0c6b969a29b0910f9b71dc571a46cc8c0b. --- src/gui/widgets.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/gui/widgets.py b/src/gui/widgets.py index 51f1d4a..7344df7 100644 --- a/src/gui/widgets.py +++ b/src/gui/widgets.py @@ -973,8 +973,6 @@ class UartMonitorWindow(ctk.CTkToplevel): self.geometry("680x540") self.minsize(480, 360) self.protocol("WM_DELETE_WINDOW", self._on_close) - self.lift() # ensure visible on Windows - self.focus() self._on_log = on_log @@ -1223,4 +1221,5 @@ class UartMonitorWindow(ctk.CTkToplevel): if self._monitor: self._monitor.stop() self._monitor = None + self.grab_release() self.destroy()