diff --git a/packages/desktopjs/src/window.ts b/packages/desktopjs/src/window.ts index 4f7eae37..70324180 100644 --- a/packages/desktopjs/src/window.ts +++ b/packages/desktopjs/src/window.ts @@ -424,6 +424,7 @@ export class SnapAssistWindowManager extends GroupWindowManager { if (isOpenFin()) { // OpenFin moved handler win.addListener("disabled-frame-bounds-changed", () => this.onMoved(win)); + win.addListener("frame-enabled", () => win.innerWindow.disableFrame()); } else { // Electron windows specific moved handler if (win.innerWindow && win.innerWindow.hookWindowMessage) {