diff --git a/CHANGELOG.md b/CHANGELOG.md index eb4a11b6..af70f3bf 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm - Extend window, space and display properties exposed through *query* commands [#116](https://github.com/koekeishiya/yabai/issues/116) - Native macOS fullscreen spaces is now addressable using their mission-control index and can also be moved [#117](https://github.com/koekeishiya/yabai/issues/117) - Only apply opacity changes to windows that properly report that they are "standard" or "dialog" windows [#120](https://github.com/koekeishiya/yabai/issues/120) +- The status bar should now properly draw above any potential window that overlaps its position [#124](https://github.com/koekeishiya/yabai/issues/124) ## [1.0.6] - 2019-07-09 ### Changed diff --git a/src/bar.c b/src/bar.c index 483a9978..5e3db163 100644 --- a/src/bar.c +++ b/src/bar.c @@ -342,7 +342,7 @@ void bar_create(struct bar *bar) SLSClearWindowTags(g_connection, bar->id, clear_tags, 64); SLSSetWindowOpacity(g_connection, bar->id, 0); SLSSetMouseEventEnableFlags(g_connection, bar->id, false); - SLSSetWindowLevel(g_connection, bar->id, CGWindowLevelForKey(4)); + SLSSetWindowLevel(g_connection, bar->id, CGWindowLevelForKey(5)); bar->context = SLWindowContextCreate(g_connection, bar->id, 0); CFRunLoopAddSource(CFRunLoopGetMain(), IOPSNotificationCreateRunLoopSource(power_handler, NULL), kCFRunLoopCommonModes);