diff --git a/src/bar.cpp b/src/bar.cpp index 7b9e930705..2e9f30ddfd 100644 --- a/src/bar.cpp +++ b/src/bar.cpp @@ -218,7 +218,7 @@ void waybar::Bar::onMap(GdkEventAny* ev) { void waybar::Bar::setExclusiveZone(uint32_t width, uint32_t height) { auto zone = 0; - if (visible) { + if (visible && config["layer"] != "overlay") { // exclusive zone already includes margin for anchored edge, // only opposite margin should be added if (vertical) {