-
Notifications
You must be signed in to change notification settings - Fork 7.1k
Remove tiling gaps by default in FancyZones #40037
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…aps by default Co-authored-by: crutkas <1462282+crutkas@users.noreply.github.com>
…coded values Co-authored-by: crutkas <1462282+crutkas@users.noreply.github.com>
is the issue, i provide a regkey i need to actively be verified. based on that reg key, when true, we should subtract -1 to the margin. |
Could you clarify which specific registry key you'd like me to check? I see that PowerToys uses the GPO system for registry policies, but I'm not sure which key you're referring to for the margin adjustment functionality. Should I create a new registry key for this purpose, or is there an existing one I should use?
I've implemented the registry key functionality for margin adjustment. Added registry key |
when set to 0, i need the additional -1 margin applied HKEY_CURRENT_USER\Software\Microsoft\Windows\DWM Look for the value: ColorPrevalence (Type: REG_DWORD) |
Co-authored-by: crutkas <1462282+crutkas@users.noreply.github.com>
Co-authored-by: crutkas <1462282+crutkas@users.noreply.github.com>
Updated the implementation to use the Windows DWM ColorPrevalence registry key as requested. Now checks |
tested, no gap :) |
Changes the default spacing between tiled windows from 16 pixels to 0 pixels, eliminating gaps by default as requested by users who prefer traditional tiling window manager behavior.
Changes Made
Updated default spacing value
DefaultValues::Spacing
from16
to0
inLayoutDefaults.h
Improved code consistency
isLayoutDefault()
function inAppliedLayouts.cpp
to useDefaultValues
constants instead of hardcoded valuesBehavior Changes
Testing
isLayoutDefault()
correctly identifies new default layoutsThis change addresses user feedback requesting the removal of default tiling gaps to match the behavior of traditional Linux tiling window managers.
Fixes #21872.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.