fix(desktop): enable default context menu for copy/paste across the app

This commit is contained in:
Mohamed Boudra
2026-04-01 19:19:40 +07:00
parent 963c79265a
commit b91884bc54
2 changed files with 15 additions and 1 deletions
+2
View File
@@ -17,6 +17,7 @@ import {
getWindowBackgroundColor,
resolveSystemWindowTheme,
setupWindowResizeEvents,
setupDefaultContextMenu,
setupDragDropPrevention,
} from "./window/window-manager.js";
import { registerDialogHandlers } from "./features/dialogs.js";
@@ -108,6 +109,7 @@ async function createMainWindow(): Promise<void> {
});
setupWindowResizeEvents(mainWindow);
setupDefaultContextMenu(mainWindow);
setupDragDropPrevention(mainWindow);
mainWindow.once("ready-to-show", () => {
mainWindow.show();