An open-source, self-hosted system for apps built with web technologies.
Activate an inactive window when a drag enters it, so the drop reaches its Program
zohayrslilehd011ee0d81f8
diff --git a/source/client/view/structure/desktop/windows/process-window.tsx b/source/client/view/structure/desktop/windows/process-window.tsxindex b81c798..f3eba84 100644--- a/source/client/view/structure/desktop/windows/process-window.tsx+++ b/source/client/view/structure/desktop/windows/process-window.tsx@@ -214,8 +214,10 @@ export default memo(function ({ identity, record, assetId, client, title, header</div>}{/* First press focuses an inactive window before its program can- receive input. Bare layers have no system click-catcher. */}- {layer === "window" && !active && <div data-window-click-catcher className="absolute inset-0 bg-transparent" />}+ receive input. A drag entering it activates it the same way, so+ the drop reaches the program. Bare layers have no system+ click-catcher. */}+ {layer === "window" && !active && <div data-window-click-catcher className="absolute inset-0 bg-transparent" onDragEnter={activate} />}</Window>})