mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-12-20 19:50:11 +00:00
[client] spice: better align the spice api for x11 cliboard integration
This commit is contained in:
@@ -487,10 +487,11 @@ static inline const uint32_t mapScancode(SDL_Scancode scancode)
|
||||
}
|
||||
|
||||
|
||||
bool spiceClipboardNotice(const SpiceDataType type)
|
||||
void spiceClipboardNotice(const SpiceDataType type)
|
||||
{
|
||||
// we only support text data for now
|
||||
return (type == SPICE_DATA_TEXT);
|
||||
if (type == SPICE_DATA_TEXT)
|
||||
spice_clipboard_request(type);
|
||||
}
|
||||
|
||||
void spiceClipboardData(const SpiceDataType type, uint8_t * buffer, uint32_t size)
|
||||
|
||||
Reference in New Issue
Block a user