-
Notifications
You must be signed in to change notification settings - Fork 103
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 Wayland decorations strategy #3454
Conversation
e95d038
to
7d848b0
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #3454 +/- ##
==========================================
- Coverage 77.41% 77.36% -0.06%
==========================================
Files 1074 1076 +2
Lines 68854 68911 +57
==========================================
+ Hits 53304 53311 +7
- Misses 15550 15600 +50 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A lot of tweaks, but this is the right idea
Co-authored-by: Alan Griffiths <[email protected]>
`DecorationStrategy`
bd17e18
to
3a75b0f
Compare
Co-authored-by: Alan Griffiths <[email protected]>
…able copying. Co-authored-by: Alan Griffiths <[email protected]>
Also fixed a sneaky bug caused by checking if one toplevel was registered instead of zero. toplevels should be already unregistered by their decorations by the time they're destroyed, otherwise it's a protocol error.
…re_decoration_throws_orphaned`
…de-decorations-strategy
I've got some questions:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some tidying up needed, but looking good
Probably easiest to rebase on |
Also, changed `DecorationStrategy::Self` to inherit from `DecorationStrategy` and cleaned up the code a bit.
…earer Co-authored-by: Alan Griffiths <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A little more tidy-up
There's a bunch of build failures: I think you need to run |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am suggesting a little more documentation of miral::Decorations
, but looks good
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One teeny suggestion about leaking in a switch
(technically, although it hardly matters)
Co-authored-by: Alan Griffiths <[email protected]>
Co-authored-by: Matthew Kosarek <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am happy with this 😄
Fixes the misunderstandings of the doomed #3453.