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

X11 wm in smithay #570

Merged
merged 60 commits into from
Jan 18, 2023
Merged

X11 wm in smithay #570

merged 60 commits into from
Jan 18, 2023

Conversation

Drakulix
Copy link
Member

@Drakulix Drakulix commented May 5, 2022

WIP PR to track progress of implementing a re-parenting xwayland window manager in smithay and integrating it with the desktop module.

@Drakulix Drakulix marked this pull request as ready for review December 20, 2022 16:49
@codecov-commenter
Copy link

codecov-commenter commented Dec 20, 2022

Codecov Report

Base: 25.05% // Head: 25.26% // Increases project coverage by +0.21% 🎉

Coverage data is based on head (81966e1) compared to base (c85e1e5).
Patch coverage: 26.02% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #570      +/-   ##
==========================================
+ Coverage   25.05%   25.26%   +0.21%     
==========================================
  Files         125      130       +5     
  Lines       20174    20867     +693     
==========================================
+ Hits         5055     5273     +218     
- Misses      15119    15594     +475     
Flag Coverage Δ
wlcs-core 22.65% <23.05%> (+0.09%) ⬆️
wlcs-output 10.38% <2.14%> (-0.23%) ⬇️
wlcs-pointer-input 24.51% <25.52%> (+0.19%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
anvil/src/input_handler.rs 9.02% <0.00%> (-0.27%) ⬇️
src/desktop/space/mod.rs 58.76% <ø> (ø)
anvil/src/shell/grabs.rs 1.70% <1.70%> (ø)
anvil/src/shell/xdg.rs 3.12% <3.12%> (ø)
anvil/src/shell/ssd.rs 9.95% <9.95%> (ø)
anvil/src/focus.rs 16.17% <20.45%> (+0.86%) ⬆️
anvil/src/shell/element.rs 38.19% <38.19%> (ø)
anvil/src/state.rs 37.43% <38.55%> (-0.48%) ⬇️
anvil/src/shell/mod.rs 41.40% <41.40%> (ø)
src/desktop/space/wayland/window.rs 51.30% <50.00%> (-8.70%) ⬇️
... and 12 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@Drakulix
Copy link
Member Author

Seems to be good enough to handle simple clients like gedit now.

It is still missing window decorations, but I would rather start incrementally making this better than trying to address it all at once.
Steam and fullscreen games are another thing known not to work properly.

Copy link
Contributor

@psychon psychon left a comment

Choose a reason for hiding this comment

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

I scrolled through this and focused on X11-specific things. Here's the result. Thus, I ignored most of the code since I do not really know enough Wayland / smithay for this. Hopefully the X11 bits are useful.

Copy link
Collaborator

@cmeissl cmeissl left a comment

Choose a reason for hiding this comment

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

I tried to review the code itself as I am not experienced with X11 in any way. Left some small nits and questions.

Copy link
Collaborator

@cmeissl cmeissl left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Member

@PolyMeilex PolyMeilex left a comment

Choose a reason for hiding this comment

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

I don't see anything obviously wrong codewise. LGTM

@Drakulix Drakulix merged commit 6e09e2d into master Jan 18, 2023
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.

6 participants