mirror of
https://github.com/FelixKratz/SketchyBar
synced 2025-02-17 04:58:28 +00:00
set shape in nirvana
This commit is contained in:
parent
7d78837059
commit
82943f4bd9
1 changed files with 1 additions and 1 deletions
|
@ -120,7 +120,7 @@ bool window_apply_frame(struct window* window) {
|
|||
CFTypeRef frame_region = window_create_region(window, window->frame);
|
||||
|
||||
if (__builtin_available(macOS 13.0, *)) {
|
||||
SLSSetWindowShape(g_connection, window->id, 0, 0, frame_region);
|
||||
SLSSetWindowShape(g_connection, window->id, g_nirvana.x, g_nirvana.y, frame_region);
|
||||
} else {
|
||||
if (window->parent) {
|
||||
SLSOrderWindow(g_connection, window->id, 0, window->parent->id);
|
||||
|
|
Loading…
Add table
Reference in a new issue