diff --git a/resources/metadata.json b/resources/metadata.json index cab776f..f640403 100644 --- a/resources/metadata.json +++ b/resources/metadata.json @@ -2,7 +2,7 @@ "name": "Rounded Window Corners", "description": "Add rounded corners for all windows", "uuid": "rounded-window-corners@yilozt", - "version": "9", + "version": "10", "url": "https://github.com/yilozt/rounded-window-corners", "shell-version": ["40", "41", "42", "43"] } diff --git a/src/manager/effect_manager.ts b/src/manager/effect_manager.ts index 7230bb7..4492410 100644 --- a/src/manager/effect_manager.ts +++ b/src/manager/effect_manager.ts @@ -158,7 +158,6 @@ export class WindowActorTracker { last_size.width = actor.size.width last_size.height = actor.size.height - _log ('Size changed') this.run ((m) => m.on_size_changed (actor)) } }) diff --git a/src/manager/rounded_corners_manager.ts b/src/manager/rounded_corners_manager.ts index e59fe37..402985d 100644 --- a/src/manager/rounded_corners_manager.ts +++ b/src/manager/rounded_corners_manager.ts @@ -93,6 +93,7 @@ export class RoundedCornersManager implements EffectManager { const shadow = actor.__rwc_rounded_window_info?.shadow if (shadow) { global.window_group.remove_child (shadow) + shadow.clear_effects () shadow.destroy () } delete actor.__rwc_rounded_window_info