A window set to windowed-fullscreen mode does not adjust for the external bar specified in config.
Expected Behavior:
windowed-fullscreen windows should not overlap with the external bar area specified in yabai configuration.
Actual Behavior:
windowed-fullscreen windows spread in the external bar area.
Set up
- yabai version: v7.1.17
- Menu bar: Auto-Hide
- External bar: Sketchybar
- MacOS 12.7.4 Monterey
Steps to Reproduce:
Configs
yabairc:
yabai -m config external_bar all:12:0
skhdrc:
alt - b : yabai -m window --toggle windowed-fullscreen
I used the above command initially, which led to this behavior. Then I also tried the solution suggested for a similar problem (overlap with notch) in #2216 to float the window first:
skhdrc:
alt - b : yabai -m window --toggle float; yabai -m window --toggle windowed-fullscreen
but the window still didn't adjust for the external bar:
The problem only happens with windowed-fullscreen windows. The BSP managed layer properly adjusts for the external bar. The same window spreads to the external bar area when set to windowed-fullscreen.
A window set to
windowed-fullscreenmode does not adjust for the external bar specified in config.Expected Behavior:
windowed-fullscreenwindows should not overlap with the external bar area specified in yabai configuration.Actual Behavior:
windowed-fullscreenwindows spread in the external bar area.Set up
Steps to Reproduce:
Configs
yabairc:skhdrc:I used the above command initially, which led to this behavior. Then I also tried the solution suggested for a similar problem (overlap with notch) in #2216 to float the window first:
skhdrc:alt - b : yabai -m window --toggle float; yabai -m window --toggle windowed-fullscreenbut the window still didn't adjust for the external bar:
The problem only happens with
windowed-fullscreenwindows. The BSP managed layer properly adjusts for the external bar. The same window spreads to the external bar area when set towindowed-fullscreen.