mirror of
https://github.com/gnif/LookingGlass.git
synced 2024-11-26 07:17:23 +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,
|
static void dataDeviceHandleDataOffer(void * data,
|
||||||
struct wl_data_device * dataDevice, struct wl_data_offer * offer)
|
struct wl_data_device * dataDevice, struct wl_data_offer * offer)
|
||||||
{
|
{
|
||||||
|
this->stashedType = LG_CLIPBOARD_DATA_NONE;
|
||||||
wl_data_offer_add_listener(offer, &dataOfferListener, NULL);
|
wl_data_offer_add_listener(offer, &dataOfferListener, NULL);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user