mirror of
https://github.com/FelixKratz/SketchyBar
synced 2024-11-10 05:44:16 +00:00
sticky on Sonoma is enforced in bar_manager
This commit is contained in:
parent
0e0bf707e8
commit
7d121d55e2
1 changed files with 1 additions and 5 deletions
|
@ -26,11 +26,7 @@ void window_create(struct window* window, CGRect frame) {
|
|||
uint64_t set_tags = kCGSExposeFadeTagBit;
|
||||
uint64_t clear_tags = 0;
|
||||
|
||||
// Sonoma and up is always sticky.
|
||||
if (__builtin_available(macOS 14.0, *)) {
|
||||
set_tags |= kCGSStickyTagBit;
|
||||
clear_tags = kCGSSuperStickyTagBit;
|
||||
} else if (g_bar_manager.sticky) {
|
||||
if (g_bar_manager.sticky) {
|
||||
set_tags |= kCGSStickyTagBit;
|
||||
clear_tags = kCGSSuperStickyTagBit;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue