Skip to content

Conversation

@patrick96
Copy link
Member

What type of PR is this? (check all applicable)

  • Refactor
  • Feature
  • Bug Fix
  • Optimization
  • Documentation Update
  • Other: Replace this with a description of the type of this PR

Description

Because the X server is asynchronous, there is no guarantee that after
reading _NET_CLIENT_LIST, all windows still exist.
For that reason we need to handle XCB_WINDOW errors appropriately.

Related Issues & Documents

Documentation (check all applicable)

  • This PR requires changes to the Wiki documentation (describe the changes)
  • This PR requires changes to the documentation inside the git repo (please add them to the PR).
  • Does not require documentation changes

@patrick96 patrick96 added this to the 3.6.2 milestone Mar 20, 2022
@patrick96 patrick96 force-pushed the xworkspaces-window-error branch from aa4185d to fa99dda Compare March 20, 2022 13:35
Because the X server is asynchronous, there is no guarantee that after
reading _NET_CLIENT_LIST, all windows still exist.
For that reason we need to handle XCB_WINDOW errors appropriately.
@codecov
Copy link

codecov bot commented Mar 20, 2022

Codecov Report

Merging #2655 (fa99dda) into hotfix/3.6.2 (8173eaf) will decrease coverage by 0.00%.
The diff coverage is 0.00%.

@@               Coverage Diff                @@
##           hotfix/3.6.2    #2655      +/-   ##
================================================
- Coverage         13.78%   13.78%   -0.01%     
================================================
  Files               153      153              
  Lines             11270    11272       +2     
================================================
  Hits               1554     1554              
- Misses             9716     9718       +2     
Flag Coverage Δ
unittests 13.78% <0.00%> (-0.01%) ⬇️

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

Impacted Files Coverage Δ
src/modules/xworkspaces.cpp 0.00% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8173eaf...fa99dda. Read the comment docs.

@patrick96 patrick96 merged commit b05b3a4 into polybar:hotfix/3.6.2 Mar 20, 2022
@patrick96 patrick96 deleted the xworkspaces-window-error branch March 20, 2022 17:31
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.

1 participant