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

The ewmh strategy has to be dropped because the
_NET_SUPPORTING_WM_CHECK window may (at least in bspwm) appear anywhere in the window stack.

To fix the overlapping monitors issue in #2873, we simply restack against the topmost of these root windows.

Related Issues & Documents

Fixes #2972
Fixes #2873 (again)

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

The bspwm strategy documentation has to be revised slightly.

@codecov
Copy link

codecov bot commented Oct 8, 2023

Codecov Report

Merging #3019 (e6e29a4) into master (1bfe117) will increase coverage by 0.01%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #3019      +/-   ##
==========================================
+ Coverage   12.69%   12.71%   +0.01%     
==========================================
  Files         160      160              
  Lines       12534    12517      -17     
==========================================
  Hits         1591     1591              
+ Misses      10943    10926      -17     
Flag Coverage Δ
unittests 12.71% <0.00%> (+0.01%) ⬆️

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

Files Coverage Δ
include/utils/bspwm.hpp 0.00% <0.00%> (ø)
src/components/bar.cpp 0.00% <0.00%> (ø)
src/utils/bspwm.cpp 0.00% <0.00%> (ø)

The ewmh strategy has to be dropped because the
`_NET_SUPPORTING_WM_CHECK` window may (at least in bspwm) appear
anywhere in the window stack.

To fix the overlapping monitors issue in polybar#2873, we simply restack
against the topmost of these root windows.

Fixes polybar#2972
Fixes polybar#2873 (again)
@patrick96 patrick96 merged commit c975259 into polybar:master Oct 8, 2023
@patrick96 patrick96 deleted the fix/bspwm-restack branch October 8, 2023 19:04
@patrick96 patrick96 mentioned this pull request Nov 5, 2023
24 tasks
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.

[Bug]: Polybar overlaps fullscreen windows after bspwm restart [Bug]: Workspaces not clickable on BSPWM
1 participant