diff options
author | Andreas Kling <kling@serenityos.org> | 2021-01-15 23:13:24 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2021-01-15 23:24:07 +0100 |
commit | 333366a99d09ede55a025f7294617e5d89ce630b (patch) | |
tree | 91eea45b2c7d6e294787ee0866737e1e206318a1 /Userland/Services/Taskbar/main.cpp | |
parent | 633915e792d7de56ce30fa527d4421d16e80ec6c (diff) | |
download | serenity-333366a99d09ede55a025f7294617e5d89ce630b.zip |
WindowServer+Taskbar: Send WM icon updates as Gfx::ShareableBitmap
Window icons in Taskbar were previously received in WM events with
shbuf ID's. Now that Gfx::ShareableBitmap is backed by anonymous files,
we can easily switch to using those.
Diffstat (limited to 'Userland/Services/Taskbar/main.cpp')
-rw-r--r-- | Userland/Services/Taskbar/main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Services/Taskbar/main.cpp b/Userland/Services/Taskbar/main.cpp index eb49b1cc24..d6584ab914 100644 --- a/Userland/Services/Taskbar/main.cpp +++ b/Userland/Services/Taskbar/main.cpp @@ -33,7 +33,7 @@ int main(int argc, char** argv) { - if (pledge("stdio sendfd shared_buffer accept proc exec rpath unix cpath fattr sigaction", nullptr) < 0) { + if (pledge("stdio recvfd sendfd shared_buffer accept proc exec rpath unix cpath fattr sigaction", nullptr) < 0) { perror("pledge"); return 1; } @@ -45,7 +45,7 @@ int main(int argc, char** argv) ; }); - if (pledge("stdio sendfd shared_buffer accept proc exec rpath", nullptr) < 0) { + if (pledge("stdio recvfd sendfd shared_buffer accept proc exec rpath", nullptr) < 0) { perror("pledge"); return 1; } |