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

renderer: Add dimaround layer rule #4643

Merged
merged 1 commit into from Apr 11, 2024

Conversation

TheOnlyMrCat
Copy link
Contributor

Describe your PR, what does it fix/add?

I literally just copied the code from the dimaround window rule and it seems to work.

Fixes #1657, Fixes #1889

Is there anything you want to mention? (unchecked code, possible bugs, found problems, breaking compatibility, etc.)

Probably related to #3633. The same weird behaviour that shows up when applying dimaround to tiled windows would also happen here for shells on the same layer. There'd also be double-dimaround if there are any dimaround windows behind the layer.

Is it ready for merging, or does it need work?

It is ready for merging.

src/render/Renderer.cpp Outdated Show resolved Hide resolved
@vaxerski
Copy link
Member

vaxerski commented Feb 9, 2024

stalling until #4656 is merged (will cause conflicts otherwise), sorry

@TheOnlyMrCat
Copy link
Contributor Author

I've rebased onto main; should be ready to go now.

src/render/Renderer.cpp Outdated Show resolved Hide resolved
src/helpers/WLClasses.cpp Outdated Show resolved Hide resolved
src/helpers/WLClasses.cpp Outdated Show resolved Hide resolved
@TheOnlyMrCat
Copy link
Contributor Author

I've fixed the above. (Thanks for helping me with my admittedly patchy C++ knowledge)

src/helpers/WLClasses.cpp Outdated Show resolved Hide resolved
Copy link
Member

@vaxerski vaxerski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@vaxerski
Copy link
Member

wiki mr pls

@vaxerski vaxerski merged commit 47e5b41 into hyprwm:main Apr 11, 2024
9 checks passed
lisuke pushed a commit to lisuke/Hyprland that referenced this pull request Apr 15, 2024
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.

Add 'dimaround' layerrule Dimaround rule for layers
2 participants