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

Make XdgShellHandler::reposition_request mandatory #1192

Merged
merged 2 commits into from
Nov 1, 2023

Conversation

chrisduerr
Copy link
Contributor

When running a GTK4 application which tries to reposition a popup surface, it will wait for a commit to confirm the repositioning and halt all rendering.

To avoid compositors accidentally skipping the implementation of this function, it should be clearly indicated that this is mandatory. The documentation was also expanded to reinforce this point.

When running a GTK4 application which tries to reposition a popup
surface, it will wait for a commit to confirm the repositioning and halt
all rendering.

To avoid compositors accidentally skipping the implementation of this
function, it should be clearly indicated that this is mandatory. The
documentation was also expanded to reinforce this point.
@codecov-commenter
Copy link

codecov-commenter commented Nov 1, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (4f9480e) 21.98% compared to head (4f7dbda) 21.98%.
Report is 10 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1192   +/-   ##
=======================================
  Coverage   21.98%   21.98%           
=======================================
  Files         154      154           
  Lines       24094    24093    -1     
=======================================
+ Hits         5297     5298    +1     
+ Misses      18797    18795    -2     
Flag Coverage Δ
wlcs-buffer 18.98% <ø> (+<0.01%) ⬆️
wlcs-core 18.66% <ø> (+<0.01%) ⬆️
wlcs-output 7.74% <ø> (+<0.01%) ⬆️
wlcs-pointer-input 20.83% <ø> (+0.05%) ⬆️

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

Files Coverage Δ
src/wayland/shell/xdg/decoration.rs 12.35% <ø> (ø)
src/wayland/shell/xdg/mod.rs 31.50% <ø> (+0.03%) ⬆️

... and 7 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Drakulix Drakulix merged commit b9518a9 into Smithay:master Nov 1, 2023
@chrisduerr chrisduerr deleted the mandatory_reposition branch November 1, 2023 21:44
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