mirror of
https://github.com/RGBCube/serenity
synced 2025-07-23 10:17:41 +00:00
![]() When the host clears the clipboard (e.g. by running `pbcopy </dev/null`) the Spice server sends an empty string to us. Previously, we would crash as `AnonymousBuffer::create_with_size` doesn't accept a size of 0. Fix this by passing `{}` to `async_set_clipboard_data` in this case. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
ConnectionToClipboardServer.cpp | ||
ConnectionToClipboardServer.h | ||
main.cpp | ||
SpiceAgent.cpp | ||
SpiceAgent.h |