diff --git a/dislocker_client.py b/dislocker_client.py index 038954b..1ab3610 100644 --- a/dislocker_client.py +++ b/dislocker_client.py @@ -12,6 +12,7 @@ class App(customtkinter.CTk): super().__init__() self.title("Dislocker ロック中") self.attributes('-fullscreen', True) + self.attributes('-topmost', True) self.frame = customtkinter.CTkFrame(self, corner_radius=0, fg_color='transparent') self.frame.grid(row=0, column=0, sticky='nsew') @@ -63,6 +64,7 @@ class Lock(customtkinter.CTkToplevel): self.geometry('400x200') self.resizable(height=False, width=False) self.attributes('-topmost', True) + self.grab_set() self.lift() self.protocol("WM_DELETE_WINDOW", self.handler_close)