Skip to content

Instantly share code, notes, and snippets.

View jorpilo's full-sized avatar

Jorge Pinilla López jorpilo

View GitHub Profile
@jorpilo
jorpilo / yabai-sonoma.diff
Created August 27, 2023 03:39
Yabai sonoma patch
diff --git a/src/window_manager.c b/src/window_manager.c
index c14309c..6a8d4c8 100644
--- a/src/window_manager.c
+++ b/src/window_manager.c
@@ -1221,6 +1221,11 @@ static void window_manager_make_key_window(ProcessSerialNumber *window_psn, uint
void window_manager_focus_window_without_raise(ProcessSerialNumber *window_psn, uint32_t window_id)
{
+ if (workspace_is_macos_sonoma()) {
+ debug("%s is not available on macOS Sonoma..\n", __FUNCTION__);