From 894d62ca68d374b1f8d463e667dc5300e481ddd3 Mon Sep 17 00:00:00 2001 From: Gabi <218829269+GabiNun2@users.noreply.github.com> Date: Fri, 3 Jul 2026 22:05:56 -0700 Subject: [PATCH] Added WPFToggleWindowSnapping to tweaks.json (#4748) * Added WPFToggleWindowSnapping to tweaks.json * Update tweaks.json * Update tweaks.json * Update tweaks.json * Update tweaks.json * Update tweaks.json * Add Window Snapping tweak docs --------- Co-authored-by: Chris Titus --- config/tweaks.json | 18 ++++++++++++ .../Customize-Preferences/WindowSnapping.md | 29 +++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 docs/content/dev/tweaks/Customize-Preferences/WindowSnapping.md diff --git a/config/tweaks.json b/config/tweaks.json index 8b7fdbe0..a9092f22 100644 --- a/config/tweaks.json +++ b/config/tweaks.json @@ -1530,6 +1530,24 @@ ], "link": "https://winutil.christitus.com/dev/tweaks/customize-preferences/numlock" }, + "WPFToggleWindowSnapping": { + "Content": "Window Snapping", + "Description": "Toggles the window snapping feature when dragging windows.", + "category": "Customize Preferences", + "panel": "2", + "Type": "Toggle", + "registry": [ + { + "Path": "HKCU:\\Control Panel\\Desktop", + "Name": "WindowArrangementActive", + "Value": "1", + "Type": "String", + "OriginalValue": "0", + "DefaultState": "true" + } + ], + "link": "https://winutil.christitus.com/dev/tweaks/customize-preferences/windowsnapping" + }, "WPFToggleStandbyFix": { "Content": "S0 Sleep Network Connectivity", "Description": "Toggles network connectivity during S0 Sleep which is low power idle in modern laptops.", diff --git a/docs/content/dev/tweaks/Customize-Preferences/WindowSnapping.md b/docs/content/dev/tweaks/Customize-Preferences/WindowSnapping.md new file mode 100644 index 00000000..0e2018ff --- /dev/null +++ b/docs/content/dev/tweaks/Customize-Preferences/WindowSnapping.md @@ -0,0 +1,29 @@ +--- +title: "Window Snapping" +description: "" +--- + +```json {filename="config/tweaks.json",linenos=inline,linenostart=1532} + "WPFToggleWindowSnapping": { + "Content": "Window Snapping", + "Description": "Toggles the window snapping feature when dragging windows.", + "category": "Customize Preferences", + "panel": "2", + "Type": "Toggle", + "registry": [ + { + "Path": "HKCU:\\Control Panel\\Desktop", + "Name": "WindowArrangementActive", + "Value": "1", + "Type": "String", + "OriginalValue": "0", + "DefaultState": "true" + } + ], +``` + +## Registry Changes + +Applications and System Components store and retrieve configuration data to modify Windows settings, so we can use the registry to change many settings in one place. + +You can find information about the registry on [Wikipedia](https://en.wikipedia.org/wiki/Windows_Registry) and [Microsoft's Website](https://learn.microsoft.com/en-us/windows/win32/sysinfo/registry).