--master-size
does not include display padding in available screen space calculation
#78
Labels
--master-size
does not include display padding in available screen space calculation
#78
What did you expect to happen?
When I use
bsp-layout
to set a tiling layout and using the--master-size
flag, I expect the size of the master window to be a percentage of screen space available after calculating padding.What actually happened?
When I use
bsp-layout
to set a tiling layout and using the--master-size
flag with a given value X, while varying the display padding of that workspace (globally or locally), the size of the master window is constant (and appears to be calculated in terms of the total display size minuswindow_gap
).Describe your attempts to resolve the issue
Haven't tried yet, but all that should be needed is to include the most specific defined value from global/monitor/workspace padding settings in the calculation of available monitor space.
I'll put some time into this soon - I'm mainly raising the issue for confirmation that the change I'm proposing here is desired. Assuming that maybe other folks just don't pad their screens as drastically as I do, so a need for to adjust for it has just never surfaced, but that's just an assumption.
Steps to reproduce
These commands were run on a 3440x1440 monitor with 4 terminal windows open.
Note that the master window is shifted to the left but not resized.
System Information
Installed bsp-layout to
/usr
using a modified AUR PKGBUILD to use latest master commit (actually the tip of #77, but the change in that branch shouldn't be consequential to this behavior - I can also reproduce in latestmaster
).OS arch:
The text was updated successfully, but these errors were encountered: