mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-20 01:37:39 +03: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: https://github.com/SerenityOS/serenity/commit/2b9cf5a7b48 Pull-request: https://github.com/SerenityOS/serenity/pull/15586
@ -33,7 +33,7 @@ ErrorOr<int> serenity_main(Main::Arguments arguments)
|
||||
|
||||
TRY(Core::System::unveil("/proc/all", "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/image", "rw"));
|
||||
TRY(Core::System::unveil("/etc/FileIconProvider.ini", "r"));
|
||||
|
Loading…
Reference in New Issue
Block a user