diff --git a/src/extension.ts b/src/extension.ts index b323745..2935b37 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -19,7 +19,7 @@ import {WindowActorTracker} from './manager/effect_manager.js'; import {connections} from './utils/connections.js'; import {constants} from './utils/constants.js'; import {_log, stackMsg} from './utils/log.js'; -import {init_settings, uninit_settings, settings} from './utils/settings.js'; +import {init_settings, settings, uninit_settings} from './utils/settings.js'; import * as UI from './utils/ui.js'; // types, which will be removed in output @@ -117,7 +117,10 @@ export default class RoundedWindowCornersReborn extends Extension { ); has_rounded_corners = UI.ShouldHasRoundedCorners(window, cfg); } - if (!(has_rounded_corners && shadow)) { + if ( + !(has_rounded_corners && shadow) || + window.has_attached_dialogs() + ) { return; }