mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-07-25 17:21:54 -07:00
datadevice: fix wrong param (#9370)
Reason: look at the setReceive parameters and also at the next line(tries to narrow)
This commit is contained in:
@@ -39,7 +39,7 @@ CWLDataOfferResource::CWLDataOfferResource(SP<CWlDataOffer> resource_, SP<IDataS
|
||||
accepted = mime;
|
||||
});
|
||||
|
||||
resource->setReceive([this](CWlDataOffer* r, const char* mime, uint32_t fd) {
|
||||
resource->setReceive([this](CWlDataOffer* r, const char* mime, int fd) {
|
||||
CFileDescriptor sendFd{fd};
|
||||
if (!source) {
|
||||
LOGM(WARN, "Possible bug: Receive on an offer w/o a source");
|
||||
|
Reference in New Issue
Block a user