Update utils.py

This commit is contained in:
恍兮惚兮 2024-04-24 18:24:09 +08:00
parent 7144148074
commit cf8a13cfa1

View File

@ -436,6 +436,7 @@ def minmaxmoveobservefunc(self):
gobject.baseobject.translation_ui.settop() gobject.baseobject.translation_ui.settop()
else: else:
gobject.baseobject.translation_ui.thistimenotsetop = True gobject.baseobject.translation_ui.thistimenotsetop = True
if gobject.baseobject.translation_ui.istopmost():
gobject.baseobject.translation_ui.canceltop() gobject.baseobject.translation_ui.canceltop()
if _focusp != windows.GetWindowThreadProcessId( if _focusp != windows.GetWindowThreadProcessId(
gobject.baseobject.textsource.hwnd gobject.baseobject.textsource.hwnd