← Back to Blog

Edge Drop Guides | Jul 17, 2026 | 8 min read

How to Click-to-Paste Without Stealing Focus

By Deepender Yadav

How to Click-to-Paste Without Stealing Focus — Edge Drop Guide

Picking an item off a clipboard shelf and dropping it into the app you were just typing in should not require a context switch. On Windows, however, the moment a window receives a mouse click it usually becomes the foreground window, which means the app you were working in loses focus. After that, paste lands in the wrong place, the caret jumps, or the IME closes. The Edge-Drop click-to-paste behaviour exists to avoid exactly that. This guide covers what focus stealing is, why most clipboard managers do it, how Edge-Drop stays out of the way, and when click-to-paste is the right tool instead of drag-out. For neighbouring workflows see how to drag an item out of Edge-Drop into any app and how to use incognito mode in Edge-Drop.

What "stealing focus" actually means

On Windows, every top-level window is owned by a thread, and only one window is the foreground window at any time. When you click on a window, the default behaviour is for the window manager to give that window the foreground and activate it. Activation is not a cosmetic property — it determines which window receives keyboard input, where the caret blinks, where paste goes, and which IME composition is active.

Most clipboard manager popups are normal top-level windows. Clicking an item in them activates the popup, which deactivates the app you were typing in. After the manager sends a WM_PASTE (or simulates Ctrl+V), the paste either lands in the now-inactive previous window because the manager explicitly calls SetForegroundWindow back, or it lands in the popup itself. Both paths are fragile: the round-trip is racy on slow systems, IME states get lost, and the caret position is not always restored. The official Microsoft guidance on foreground windows is documented under the SetForegroundWindow reference on Microsoft Learn, which spells out the restrictions Windows applies to foreground changes.

This is the same reason tray popups, hover previews, and tooltip-style overlays fight with the editor underneath them. It is a deep OS behaviour, not a bug in any one clipboard manager.

Why Edge-Drop does not steal focus

Edge-Drop is a frameless, transparent, always-on-top window. When collapsed it is click-through — pointer events pass straight to whatever is underneath. When the shelf opens after a hover dwell, it does become clickable, but it requests the WS_EX_NOACTIVATE extended window style. That style, also documented on Microsoft Learn, tells the window manager: this window should never become the foreground, even when clicked. The click is delivered to Edge-Drop's window procedure, the app handles it (typically by copying the item back onto the clipboard and posting a paste to the previously active window), and the foreground window remains the editor or chat box you were typing into.

The practical effect:

  • The caret does not blink out.
  • The IME composition is not aborted.
  • A paste into a browser address bar does not get rerouted to the popup.
  • A click-paste into a remote desktop session does not require refocusing the RDP window.

Combined with click-through-when-collapsed, this means the shelf occupies screen space without ever competing for input. The default hotkey (Alt+C) follows the same rule: it toggles the shelf without taking foreground.

How to use click-to-paste

The mechanics are simple:

  1. Move the cursor into the configured edge trigger strip to open the shelf.
  2. Find the item you want — text, link, image, or file.
  3. Click the item once. Edge-Drop pushes it to the clipboard and posts a paste to the previously foreground window.
  4. The paste lands in the original target. The shelf remains open but inactive.

If you prefer a deliberate gesture, drag-out works too: click and hold the item, drag it onto the target window, release. Drag-out uses the OS drag/drop machinery (OLE IDropSource / IDropTarget) and is the right choice when the target app speaks drag-drop better than it speaks paste — Photoshop layers, Word with image placements, Explorer file moves. For the full drag-out workflow, see how to drag an item out of Edge-Drop into any app.

Click-to-paste is faster for the common case: a text snippet into Slack, a URL into a browser address bar, a code fragment into VS Code, a file path into a terminal. Drag-out is the fallback when click-paste does not land cleanly.

Where click-to-paste actually helps

A few patterns make the no-activate behaviour pay off:

  • Browser address bar — typing a search, opening the shelf to grab a URL, clicking once. The URL lands in the same address bar you were editing. No refocus, no IME restart.
  • Terminal input — Windows Terminal, PowerShell, and WSL all accept paste; click-to-paste avoids the terminal losing focus mid-command.
  • Slack and Teams message box — particularly useful when the IME is mid-composition in a non-Latin script. Activating another window would cancel the composition.
  • Remote desktop / Citrix sessions — RDP windows trap keyboard input once focused. Stealing focus forces you to click back inside. Click-to-paste keeps the RDP window foregrounded.
  • OBS overlays and streaming scenes — when the streamer needs to drop a link into chat without losing the scene preview.

For multi-monitor setups with the shelf pinned to a side screen, click-to-paste means you do not have to bring the cursor back to the target window after every interaction. See how to pick which monitor Edge-Drop uses for the layout side of this.

Failure modes to know about

Click-to-paste is not magic. The no-activate style works for normal desktop windows, but a few situations still require a manual refocus:

  • Elevated windows (UAC) — if the target window is running as Administrator and Edge-Drop is not, the paste is blocked by UIPI (User Interface Privilege Isolation). The click does not steal focus, but the paste does not land either. Run Edge-Drop elevated if you routinely paste into admin windows.
  • Fullscreen exclusive games — the shelf auto-suppresses in fullscreen games via SHQueryUserNotificationState, so click-to-paste is not available anyway. See how to keep Edge-Drop quiet in fullscreen games.
  • Some Electron apps with their own focus management — a minority of Electron apps aggressively restore focus to themselves on any input event. In those apps, click-paste may need a second click or a manual paste.
  • Password fields — password fields reject synthetic paste in some configurations. This is by design and matches Windows clipboard history behaviour; see what Edge-Drop does with password manager copies.
  • Newly opened windows — if a window opened between your hover and your click, the "previously foreground window" may not be the one you wanted. A quick Alt+Tab first solves it.

When click-to-paste is the wrong choice

Click-to-paste is wrong when the target expects a drop, not a paste:

  • Dragging files into Explorer to move them — paste into Explorer pastes the file into the current folder; drag-drop lets you drop onto a target folder.
  • Photoshop layer placement — paste creates a new layer at the canvas origin; drag-drop lets you position it.
  • Word image positioning — paste inserts inline at the caret; drag-drop lets you set the wrap mode interactively.
  • Slack file attachments — paste inserts the file inline; drag-drop attaches it to the message you are composing.

In all four cases, drag-out is the correct gesture. Click-to-paste is for the large majority of cases where the target speaks paste fluently.

Configuration notes

There is no separate "click-to-paste" toggle in Edge-Drop — the behaviour is built into the shelf. The relevant settings live under Behaviour in the settings panel:

  • Hover open — controls whether the shelf opens on cursor dwell. Turn this off to require the hotkey instead, which keeps the shelf from interrupting pointer workflows. See how to turn hover off and use only the hotkey.
  • Hover-off close — controls whether the shelf closes when the cursor leaves. With hover-off on, click-to-paste followed by moving the cursor away closes the shelf automatically.
  • Hotkey (default Alt+C) — toggles the shelf without taking focus, so it can be used as a paste toggle in keyboard-heavy workflows. See how to change the Edge-Drop toggle hotkey.

For a complete walkthrough of every settings tab, see the Edge-Drop settings map.

How to verify it is working

If paste is landing in the wrong window, the most common cause is that another clipboard manager is also running and is stealing focus on its own copy event. Two clipboard managers fighting each other is a documented failure mode — see two clipboard managers fighting each other for the diagnostic. Quit the other manager and retry.

To verify click-to-paste is working as designed:

  1. Open Notepad and type a few characters.
  2. Open Edge-Drop and click a text item without moving the cursor back to Notepad.
  3. The text should land in Notepad at the caret position, and the Notepad window frame should still indicate foreground status.

If Notepad loses foreground, check whether another manager is running, whether Edge-Drop is running at a different integrity level than the target, and whether a third-party focus-management tool (e.g., a window-styler or Always-on-Top utility) is interfering.

Summary

Click-to-paste without stealing focus is the difference between a clipboard shelf that fits into an existing workflow and one that interrupts it. The WS_EX_NOACTIVATE style is what makes it possible. It is not unique to Edge-Drop as a technique — it is a Windows API behaviour — but Edge-Drop is built around it. For workflows that need drop instead of paste, use drag-out; for everything else, click-to-paste is faster and safer for focus-sensitive targets like browser address bars, terminals, IME compositions, and remote desktop windows.

Related reading

Sources

Deepender Yadav
Written by Deepender Yadav · Author & Developer

Deepender Yadav is a B.Tech Computer Science Engineering student and software developer interested in building practical software and open-source projects.

GitHub · LinkedIn

Copy. Stack. Drop.

Transform your clipboard into an interactive edge shelf. Stack, pin, and drag assets into any app with zero friction.

Download for Windows Get from Microsoft Store

How to Install Guide · First 10 Minutes Guide · Drag & Drop Guide · Edge-Drop vs Win+V · Support

Free · Lightweight · Privacy First
Find us on CodeHype