Edge-Drop is a clipboard shelf on the edge of your screen. Hover to open it. Drag files and images into any app, click to copy text and links. Free and open-source for Windows.
TypeScript clipboardclipboard-managerdesktop-appdrag-and-dropelectronopen-sourceproductivityproductivity-toolwindows
hover only responds on configured stick display
Khiem Nguyen6a38f614a215
diff --git a/drag_debug.txt b/drag_debug.txtindex a24e464..4ffe3d4 100644--- a/drag_debug.txt+++ b/drag_debug.txt@@ -3463,3 +3463,9 @@[2026-07-15T12:00:36.093Z] createFileStackDragIcon resvg result: isEmpty=false, size={"width":96,"height":96}[2026-07-15T12:00:36.094Z] dragIcon result: isEmpty=false, size={"width":96,"height":96}[2026-07-15T12:00:36.094Z] calling sender.startDrag with item.file=C:\Users\yadav\Downloads\test_project.py, item.files=["C:\\Users\\yadav\\Downloads\\test_project.py"]+[2026-07-16T07:41:02.483Z] createFileStackDragIcon calling Resvg for count=1+[2026-07-16T07:41:03.399Z] createFileStackDragIcon resvg result: isEmpty=false, size={"width":96,"height":96}+[2026-07-16T07:41:03.400Z] createFileStackDragIcon calling Resvg for count=1+[2026-07-16T07:41:04.268Z] createFileStackDragIcon resvg result: isEmpty=false, size={"width":96,"height":96}+[2026-07-16T07:41:04.268Z] createFileStackDragIcon calling Resvg for count=1+[2026-07-16T07:41:05.123Z] createFileStackDragIcon resvg result: isEmpty=false, size={"width":96,"height":96}diff --git a/electron/main/window.ts b/electron/main/window.tsindex 494a316..847f21c 100644--- a/electron/main/window.ts+++ b/electron/main/window.ts@@ -39,11 +39,16 @@ let detectorWindow: BrowserWindow | null = nulllet interactive = falseexport let currentHotZoneWidth = 3+export let currentStickDisplayId: number | undefinedexport function setHotZoneWidth(width: number): void {currentHotZoneWidth = width}+export function setStickDisplayId(id: number | undefined): void {+ currentStickDisplayId = id+}+export function getMainWindow(): BrowserWindow | null {return mainWindow}@@ -123,8 +128,14 @@ export function startCursorPoll(): void {cursorPollTimer = setInterval(() => {if (runtime.quitting || !mainWindow || mainWindow.isDestroyed() || !mainWindow.isVisible()) return+ const settings = loadSettings()+const pt = screen.getCursorScreenPoint()const display = screen.getDisplayNearestPoint(pt)++ // Only respond on the configured stick display (or any if none set).+ if (currentStickDisplayId !== undefined && display.id !== currentStickDisplayId) return+const wa = display.workArea// Translate screen coords → window-client coords.@@ -136,8 +147,6 @@ export function startCursorPoll(): void {// Guard against garbage values that Windows occasionally sends.if (clientX < -1000 || clientX > 10000 || clientY < -1000 || clientY > 10000) return- const settings = loadSettings()-let inEdge = falseswitch (settings.stickPosition) {case 'left':@@ -209,6 +218,7 @@ function getStickGeometry(): { x: number; y: number; width: number; height: numbsaveSettings({ stickDisplayId: result.displayId })}+ currentStickDisplayId = result.displayIdreturn { x: result.x, y: result.y, width: result.width, height: result.height }}