diff --git a/linux.py b/linux.py index 09f4035..0ee6129 100644 --- a/linux.py +++ b/linux.py @@ -147,8 +147,8 @@ def _edit_config_dialog() -> None: theme = ctk_theme_for_platform() w, h = CONFIG_DIALOG_SIZE root = create_ctk_toplevel( - ctk, title=t("app.settings_title"), width=w, height=h, theme=theme, - after_create=_apply_window_icon, + ctk, title=t("app.settings_title"), width=w, height=h, + theme=theme, topmost=False, after_create=_apply_window_icon ) fpx, fpy = CONFIG_DIALOG_FRAME_PAD frame = main_content_frame(ctk, root, theme, padx=fpx, pady=fpy) @@ -244,7 +244,7 @@ def _show_first_run() -> None: w, h = FIRST_RUN_SIZE root = create_ctk_toplevel( ctk, title=t("app.name"), width=w, height=h, theme=theme, - after_create=_apply_window_icon, + topmost=False, after_create=_apply_window_icon, ) def on_done(open_tg: bool) -> None: diff --git a/macos.py b/macos.py index 41f413c..3481821 100644 --- a/macos.py +++ b/macos.py @@ -348,6 +348,7 @@ def _edit_config_dialog() -> None: width=width, height=height, theme=theme, + topmost=False, after_create=lambda window: _activate_app(), ) _settings_window = root @@ -471,6 +472,7 @@ def _show_first_run() -> None: width=width, height=height, theme=theme, + topmost=False, after_create=lambda window: _activate_app(), ) diff --git a/windows.py b/windows.py index 97719f4..1533750 100644 --- a/windows.py +++ b/windows.py @@ -150,6 +150,7 @@ def update_ctk_form( width=310 if IS_FROZEN else 210, height=130 if IS_FROZEN else 100, theme=theme, + topmost=False, after_create=lambda r: r.iconbitmap(ICON_PATH), ) frame = main_content_frame(ctk, root, theme, padx=16, pady=14) @@ -510,7 +511,7 @@ def _edit_config_dialog() -> None: root = create_ctk_toplevel( ctk, title=t("app.settings_title"), width=w, height=h, theme=theme, - after_create=lambda r: r.iconbitmap(ICON_PATH), + topmost=False, after_create=lambda r: r.iconbitmap(ICON_PATH), ) fpx, fpy = CONFIG_DIALOG_FRAME_PAD frame = main_content_frame(ctk, root, theme, padx=fpx, pady=fpy) @@ -609,7 +610,7 @@ def _show_first_run() -> None: w, h = FIRST_RUN_SIZE root = create_ctk_toplevel( ctk, title=t("app.name"), width=w, height=h, theme=theme, - after_create=lambda r: r.iconbitmap(ICON_PATH), + topmost=False, after_create=lambda r: r.iconbitmap(ICON_PATH), ) def on_done(open_tg: bool) -> None: