diff options
author | Lucas CHOLLET <lucas.chollet@free.fr> | 2022-07-24 15:30:48 +0200 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2022-08-14 21:52:35 +0100 |
commit | b01822bdd463dc4860fcf2c38dd81fb5d607e207 (patch) | |
tree | 546cb6a799456a15557ff6224e48cca965299545 /Userland | |
parent | 1da9375400533961cc5ac8992ad4bae827882470 (diff) | |
download | serenity-b01822bdd463dc4860fcf2c38dd81fb5d607e207.zip |
Base: Launch NotificationServer at session start-up
Diffstat (limited to 'Userland')
-rw-r--r-- | Userland/Applets/Network/main.cpp | 2 | ||||
-rw-r--r-- | Userland/Libraries/LibGUI/Notification.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Applets/Network/main.cpp b/Userland/Applets/Network/main.cpp index 25d3466faa..cf67198a66 100644 --- a/Userland/Applets/Network/main.cpp +++ b/Userland/Applets/Network/main.cpp @@ -164,7 +164,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments) auto app = TRY(GUI::Application::try_create(arguments)); TRY(Core::System::unveil("/res", "r")); - TRY(Core::System::unveil("/tmp/portal/notify", "rw")); + TRY(Core::System::unveil("/tmp/user/%uid/portal/notify", "rw")); TRY(Core::System::unveil("/proc/net/adapters", "r")); TRY(Core::System::unveil("/bin/SystemMonitor", "x")); TRY(Core::System::unveil(nullptr, nullptr)); diff --git a/Userland/Libraries/LibGUI/Notification.cpp b/Userland/Libraries/LibGUI/Notification.cpp index a44c0de46e..b022c9ac4b 100644 --- a/Userland/Libraries/LibGUI/Notification.cpp +++ b/Userland/Libraries/LibGUI/Notification.cpp @@ -15,7 +15,7 @@ namespace GUI { class ConnectionToNotificationServer final : public IPC::ConnectionToServer<NotificationClientEndpoint, NotificationServerEndpoint> , public NotificationClientEndpoint { - IPC_CLIENT_CONNECTION(ConnectionToNotificationServer, "/tmp/portal/notify"sv) + IPC_CLIENT_CONNECTION(ConnectionToNotificationServer, "/tmp/user/%uid/portal/notify"sv) friend class Notification; |