Skip to content

Commit

Permalink
Start rm2fb automatically, fix exit exclusive
Browse files Browse the repository at this point in the history
  • Loading branch information
Eeems committed Sep 10, 2024
1 parent 466039a commit f096542
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions applications/system-service/application.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -565,6 +565,9 @@ void Application::finished(int exitCode){
)->display();
}
emit exited(exitCode);
if(flags().contains("exclusive")){
getCompositorDBus()->exitExclusiveMode().waitForFinished();
}
appsAPI->resumeIfNone();
emit appsAPI->applicationExited(qPath(), exitCode);
if(transient()){
Expand Down
2 changes: 2 additions & 0 deletions assets/etc/systemd/system/blight.service
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
[Unit]
Description=Oxide display server
After=home.mount
After=rm2fb.service
Wants=rm2fb.service
StartLimitInterval=30
StartLimitBurst=5
OnFailure=remarkable-fail.service
Expand Down

0 comments on commit f096542

Please sign in to comment.