Skip to content

Commit

Permalink
Fix build.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mysticial committed Nov 25, 2024
1 parent 059e997 commit 0f5f097
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,11 @@ void AppleSleepController::update_state(){
}


SystemSleepController& SystemSleepController::instance(){
static AppleSleepController controller;
return controller;
}




Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ SleepSuppressOption::SleepSuppressOption(std::string label, SleepSuppress defaul
{
{SleepSuppress::NONE, "none", "Do not suppress sleep or screensaver."},
#ifdef PA_ENABLE_SLEEP_SUPPRESS_NO_SLEEP
{SleepSuppress::NO_SLEEP, "no-sleep", "Prevent computer from sleeping."},
{SleepSuppress::NO_SLEEP, "no-sleep", "Prevent computer from sleeping, but allow screen to turn off."},
#endif
{SleepSuppress::SCREEN_ON, "screen-on", "Keep the screen on."},
},
Expand Down

0 comments on commit 0f5f097

Please sign in to comment.