Skip to content

feat: added resistance to floating windows#3506

Open
Fexaop wants to merge 1 commit intoniri-wm:wip/branchfrom
Fexaop:wip/branch
Open

feat: added resistance to floating windows#3506
Fexaop wants to merge 1 commit intoniri-wm:wip/branchfrom
Fexaop:wip/branch

Conversation

@Fexaop
Copy link

@Fexaop Fexaop commented Feb 25, 2026

for issue #1818

  • threshold: 32px

@Ind-E
Copy link
Contributor

Ind-E commented Feb 26, 2026

I tested this and it works well, although personally I'd prefer a higher threshold (I'm assuming it will be configurable).

Currently, resistance applies to working area edges (defined by monitor edges and/or exclusive zones), which means that monitor edges behind an exclusive zone don't have resistance applied. I'm not sure if this is desired, but it's something to think about.

@Fexaop
Copy link
Author

Fexaop commented Feb 26, 2026

Should I add a config option for threshold?

@YaLTeR
Copy link
Member

YaLTeR commented Feb 26, 2026

No config yet please

@YaLTeR
Copy link
Member

YaLTeR commented Feb 26, 2026

Currently, resistance applies to working area edges (defined by monitor edges and/or exclusive zones), which means that monitor edges behind an exclusive zone don't have resistance applied. I'm not sure if this is desired, but it's something to think about.

Yes, this was my original idea for this indeed

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