mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-12-22 21:43:40 +00:00
[client] clipboard/wayland: fix null mimetype receive error
This prevents looking-glass-client from failing with an error message like: error marshalling arguments for receive (signature sh): null value passed for arg 0 Error marshalling request: Invalid argument
This commit is contained in:
parent
50c934db5a
commit
02421ef269
@ -200,6 +200,7 @@ static const struct wl_data_offer_listener dataOfferListener = {
|
||||
static void dataDeviceHandleDataOffer(void * data,
|
||||
struct wl_data_device * dataDevice, struct wl_data_offer * offer)
|
||||
{
|
||||
this->stashedType = LG_CLIPBOARD_DATA_NONE;
|
||||
wl_data_offer_add_listener(offer, &dataOfferListener, NULL);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user