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

ewmh: compute workarea against all monitors #319

Merged
merged 1 commit into from
Dec 6, 2020
Merged

Conversation

ThomasAdam
Copy link
Member

When computing and setting the EWMH work area (which also implies
EwmhBaseStrut settings), calculate the struts relative to the overall
screen widths and heights.

Certain monitors with certain resolutions combined will often have "dead
space" which calculating per-monitor is a distorted value. The window's
offset against the work area is calculated when placing/maimizing a
window, so doesn't incur per-monitor offsets.

Fixes #271, fixes #265, fixes #264, fixes #250

When computing and setting the EWMH work area (which also implies
EwmhBaseStrut settings), calculate the struts relative to the overall
screen widths and heights.

Certain monitors with certain resolutions combined will often have "dead
space" which calculating per-monitor is a distorted value.  The window's
offset against the work area is calculated when placing/maimizing a
window, so doesn't incur per-monitor offsets.

Fixes #271, fixes #265, fixes #264, fixes #250
@ThomasAdam ThomasAdam self-assigned this Dec 6, 2020
@ThomasAdam ThomasAdam added this to the 1.0.2 milestone Dec 6, 2020
@ThomasAdam ThomasAdam merged commit be9b363 into master Dec 6, 2020
@ThomasAdam ThomasAdam deleted the ta/fix-basestruts branch December 6, 2020 14:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment