This article describes the steps to enable or disable drag to snap a window in Windows 11.
Snap is a feature in Windows that allows users to launch a flyout with possible layouts to reorient their windows on the screen by hovering their mouse over the top edge of the app windows and on the maximize button.
Another way to snap a window is to drag the window to the screen edge. When the window reaches the screen edge, it will snap out, allowing you to choose a snap window layout.
This feature is enabled by default. However, if you want to disable it, the steps below will show you how to do that.
Enable or disable drag a window to snap in Windows 11
As described above, users can select a window and drag it to the edge of the screen to snap it. This feature is on by default. If it’s getting in the way of doing your work, you can disable it using the Windows Registry Editor.
Here’s how to do it.
Open the Windows Registry, and navigate to the folder key path as listed below.
HKEY_CURRENT_USER\Control Panel\Desktop
If you don’t see the Desktop folder key, right-click on the Control Panel key, then create the subkey (Desktop) folders.
On the right pane of the Desktop folder key, right-click and select New -> DWORD (32-bit) Value. Type a new key named DockMoving and WindowArrangementActive.
Double-click the new value names (DockMoving and WindowArrangementActive ) and enter the Value data of 1 to enable drag a window to snap.
A Value data of 0 to disable dragging a window to snap.

Do the same for the (WindowArrangementActive) data name. Enter data value 1 to enable and 0 to disable.

Restart your computer for the changes to apply.
When disabled and you drag a window to the edge of the screen, it should not snap.
That should do it!
Conclusion:
This post showed you how to enable or disable drag a window to snap in Windows 11. If you find any error above or have something to add, please use the comment form below.