mirror of
https://github.com/hyprwm/Hyprland
synced 2025-12-30 22:10:07 +01: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:
parent
feb8ad48f0
commit
8e10ddb592
1 changed files with 1 additions and 1 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue