Skip to content

Commit

Permalink
#1921 *--stop-service* should properly prevent yabai from starting af…
Browse files Browse the repository at this point in the history
…ter a reboot
  • Loading branch information
koekeishiya committed Dec 30, 2023
1 parent 3ee735f commit 656f8c8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
## [Unreleased]
### Changed
- Changing window layer using rules or `window --layer` commands will exempt that window from automatic layer changes [#1929](https://github.com/koekeishiya/yabai/issues/1929)
- Running `yabai --stop-service` should properly prevent yabai from starting after a reboot [#1921](https://github.com/koekeishiya/yabai/issues/1921)

## [6.0.2] - 2023-12-23
### Changed
Expand Down
5 changes: 4 additions & 1 deletion src/misc/service.h
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,10 @@ static int service_stop(void)
//

const char *const args[] = { _PATH_LAUNCHCTL, "bootout", domain_target, yabai_plist_path, NULL };
return safe_exec((char *const*)args, false);
safe_exec((char *const*)args, false);

const char *const args2[] = { _PATH_LAUNCHCTL, "disable", service_target, NULL };
return safe_exec((char *const*)args2, false);
}
}

Expand Down

0 comments on commit 656f8c8

Please sign in to comment.