Skip to content

Commit

Permalink
set shape in nirvana
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixKratz committed Dec 27, 2022
1 parent 7d78837 commit 82943f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/window.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 82943f4

Please sign in to comment.