Skip to content
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

Add window edge snapping setting #949

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Koranir
Copy link

@Koranir Koranir commented Feb 6, 2025

Relies on pop-os/cosmic-comp#1189

Creates a new section in the "Window Managment" page called "Floating Layout", which has the "Window snap-to-edge threshold setting" that defaults to 0 (no edge snapping).

@Drakulix
Copy link
Member

Drakulix commented Feb 7, 2025

(@pop-os/ux please confirm, if I paraphrase this correctly.)

I think we just want this setting to be a toggle. It should display being "on" on any positive value (we want to allow people to mess with the config file) and "off" for '<= 0', toggling on should set the value to 10 and off to 0.

As a description we want "Display edge gravity for floating windows" instead of "Window snap-to-edge threshold". (@pop-os/ux Maybe the "for floating windows" part is redundant given this is in the "Floating Layout" section?)

@maria-komarova
Copy link

I'd rather avoid creating a separate section called Floating Layout since Floating windows is default for any system and people don't really use this term all that often. So let's place the list item under Super key action.
Window Management (2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants