mirror of
https://github.com/FelixKratz/SketchyBar
synced 2024-11-22 19:33:03 +00:00
Revert "reintroduce transactional window level on Sonoma"
This reverts commit ef9018bd3f
.
This commit is contained in:
parent
cda89f3ce2
commit
40152c054c
1 changed files with 1 additions and 8 deletions
|
@ -190,14 +190,7 @@ void window_close(struct window* window) {
|
|||
|
||||
void window_set_level(struct window* window, uint32_t level) {
|
||||
windows_freeze();
|
||||
|
||||
if (__builtin_available(macOS 14.0, *)) {
|
||||
// Sonoma and later
|
||||
SLSTransactionSetWindowLevel(g_transaction, window->id, level);
|
||||
} else {
|
||||
// Ventura and previous
|
||||
SLSSetWindowLevel(g_connection, window->id, level);
|
||||
}
|
||||
SLSSetWindowLevel(g_connection, window->id, level);
|
||||
}
|
||||
|
||||
void window_order(struct window* window, struct window* parent, int mode) {
|
||||
|
|
Loading…
Reference in a new issue