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

Don't try to connect to empty WAYLAND_SOCKET #697

Closed
wants to merge 1 commit into from

Conversation

kchibisov
Copy link
Member

--

I basically moved code around so it looks a bit nicer.

@kchibisov
Copy link
Member Author

kchibisov commented Feb 7, 2024

The thing about it is that libwayland is not really doing that sort of stuff and empty WAYLAND_SOCKET will still prevent it from running.

So maybe all of that is actually intended?

Copy link

codecov bot commented Feb 7, 2024

Codecov Report

Attention: 3 lines in your changes are missing coverage. Please review.

Comparison is base (eb7a57b) 75.34% compared to head (d0cb59e) 76.27%.

Files Patch % Lines
wayland-client/src/conn.rs 90.32% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #697      +/-   ##
==========================================
+ Coverage   75.34%   76.27%   +0.93%     
==========================================
  Files          48       45       -3     
  Lines        8257     8161      -96     
==========================================
+ Hits         6221     6225       +4     
+ Misses       2036     1936     -100     
Flag Coverage Δ
main 59.09% <0.00%> (+0.72%) ⬆️
test-- 81.22% <90.32%> (+0.14%) ⬆️
test--server_system 64.70% <90.32%> (+0.19%) ⬆️
test-client_system- 72.32% <90.32%> (+0.17%) ⬆️
test-client_system-server_system 55.01% <90.32%> (+0.19%) ⬆️

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

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

wayland-client/src/conn.rs Outdated Show resolved Hide resolved
@i509VCB
Copy link
Member

i509VCB commented Feb 7, 2024

The thing about it is that libwayland is not really doing that sort of stuff and empty WAYLAND_SOCKET will still prevent it from running.

So maybe all of that is actually intended?

Probably worth an issue upstream with libwayland

@kchibisov
Copy link
Member Author

@elinorbgr
Copy link
Member

I guess we will keep following upstream behaviour on this one, for consistency.

@elinorbgr elinorbgr closed this Feb 12, 2024
@kchibisov kchibisov deleted the empty-wayland-sock branch February 12, 2024 12:05
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