diff --git a/doc/yabai.1 b/doc/yabai.1 index 9996158b..8608cc0e 100644 --- a/doc/yabai.1 +++ b/doc/yabai.1 @@ -2,12 +2,12 @@ .\" Title: yabai .\" Author: [see the "AUTHOR(S)" section] .\" Generator: Asciidoctor 2.0.23 -.\" Date: 2024-08-04 +.\" Date: 2024-09-17 .\" Manual: Yabai Manual .\" Source: Yabai .\" Language: English .\" -.TH "YABAI" "1" "2024-08-04" "Yabai" "Yabai Manual" +.TH "YABAI" "1" "2024-09-17" "Yabai" "Yabai Manual" .ie \n(.g .ds Aq \(aq .el .ds Aq ' .ss \n[.ss] 0 @@ -566,6 +566,7 @@ Send the selected window to the given display. \fB\-\-space\fP \fI\fP .RS 4 Send the selected window to the given space. +System Integrity Protection must be partially disabled on macOS Monterey 12.7+, Ventura 13.6+, Sonoma 14.5+, and macOS Sequoia. .RE .sp \fB\-\-swap\fP \fI\fP diff --git a/doc/yabai.asciidoc b/doc/yabai.asciidoc index cd4ad8c2..03d5235e 100644 --- a/doc/yabai.asciidoc +++ b/doc/yabai.asciidoc @@ -386,6 +386,7 @@ COMMAND *--space* '':: Send the selected window to the given space. + System Integrity Protection must be partially disabled on macOS Monterey 12.7+, Ventura 13.6+, Sonoma 14.5+, and macOS Sequoia. *--swap* '':: Swap position of the selected window and the given window. diff --git a/src/osax/common.h b/src/osax/common.h index 4af94bc8..1b28a59e 100644 --- a/src/osax/common.h +++ b/src/osax/common.h @@ -1,7 +1,7 @@ #ifndef SA_COMMON_H #define SA_COMMON_H -#define OSAX_VERSION "2.1.16" +#define OSAX_VERSION "2.1.17" #define OSAX_ATTRIB_DOCK_SPACES 0x01 #define OSAX_ATTRIB_DPPM 0x02 diff --git a/src/osax/x86_64/payload.m b/src/osax/x86_64/payload.m index a097d513..cedee6f1 100644 --- a/src/osax/x86_64/payload.m +++ b/src/osax/x86_64/payload.m @@ -195,7 +195,7 @@ uint64_t get_set_front_window_offset(NSOperatingSystemVersion os_version) { const char *get_remove_space_pattern(NSOperatingSystemVersion os_version) { if (os_version.majorVersion == 15) { - return "55 48 89 E5 41 57 41 56 41 55 41 54 53 48 83 EC 68 49 89 CC 49 89 D6 49 89 F5 49 89 FF 48 BB F8 FF FF FF FF FF FF 00 E8 ?? 19 09 00 48 89 C1 48 B8 01 00 00 00 00 00 00 40 48 21 CB 48 85 C1 0F 85 74 02 00 00 48 8B 43 10 48 83 F8 02 0F 8C E8 01 00"; + return "55 48 89 E5 41 57 41 56 41 55 41 54 53 48 83 EC 68 49 89 CC 49 89 D6 49 89 F5 49 89 FF 48 BB F8 FF FF FF FF FF FF 00 E8 ?? ?? 09 00 48 89 C1 48 B8 01 00 00 00 00 00 00 40 48 21 CB 48 85 C1 0F 85 74 02 00 00 48 8B 43 10 48 83 F8 02 0F 8C E8 01 00"; } else if (os_version.majorVersion == 14) { return "55 48 89 E5 41 57 41 56 41 55 41 54 53 48 83 EC 68 48 89 4D ?? 49 89 D7 49 89 F5 49 89 FC 48 BB F8 FF FF FF FF FF FF 00 E8 ?? ?? ?? FF 49 89 C6 48 B8 01 00 00 00 00 00 00 40 4C 21 F3 49 85 C6 0F 85 ?? 02 00 00 48 8B 43 10 48 83 F8 02 0F 8C ?? 02 00 00 4C 89 6D ?? 4C 89 75 A0 48 8D 05 ?? ?? ?? 00 48 8B 00 49 8B 1C 04 4D 8B 74 04 08 48 8D 05 ?? ?? ?? 00 48 8B 38 48 8B 35 ?? ?? ??"; } else if (os_version.majorVersion == 13) {