mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-26 20:26:53 +00:00
PixelPaint: Unveil clipboard using the right path
Commit #3197c17
introduced a session based clipboard portal.
This made pixel-paint fail to launch, because it had an unveil that
used the old path to the clipboard. This commit fixes that and now
unveils the new session based clipboard portal.
This commit is contained in:
parent
7520acd4eb
commit
2b9cf5a7b4
Notes:
sideshowbarker
2024-07-19 17:02:55 +09:00
Author: https://github.com/snooze6214
Commit: 2b9cf5a7b4
Pull-request: https://github.com/SerenityOS/serenity/pull/15586
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
||||||
|
|
||||||
TRY(Core::System::unveil("/proc/all", "r"));
|
TRY(Core::System::unveil("/proc/all", "r"));
|
||||||
TRY(Core::System::unveil("/res", "r"));
|
TRY(Core::System::unveil("/res", "r"));
|
||||||
TRY(Core::System::unveil("/tmp/portal/clipboard", "rw"));
|
TRY(Core::System::unveil("/tmp/session/%sid/portal/clipboard", "rw"));
|
||||||
TRY(Core::System::unveil("/tmp/session/%sid/portal/filesystemaccess", "rw"));
|
TRY(Core::System::unveil("/tmp/session/%sid/portal/filesystemaccess", "rw"));
|
||||||
TRY(Core::System::unveil("/tmp/session/%sid/portal/image", "rw"));
|
TRY(Core::System::unveil("/tmp/session/%sid/portal/image", "rw"));
|
||||||
TRY(Core::System::unveil("/etc/FileIconProvider.ini", "r"));
|
TRY(Core::System::unveil("/etc/FileIconProvider.ini", "r"));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue