diff options
Diffstat (limited to 'src/win.c')
-rw-r--r-- | src/win.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -1365,7 +1365,8 @@ puglGetClipboardType(const PuglView* const PUGL_UNUSED(view), PuglStatus puglAcceptOffer(PuglView* const view, const PuglDataOfferEvent* const PUGL_UNUSED(offer), - const uint32_t typeIndex) + const uint32_t typeIndex, + const PuglRect region) { if (typeIndex != 0) { return PUGL_UNSUPPORTED; @@ -1375,6 +1376,8 @@ puglAcceptOffer(PuglView* const view, PUGL_DATA, 0, GetMessageTime() / 1e3, + (double)region.x, + (double)region.y, 0, }; @@ -1469,6 +1472,8 @@ puglPaste(PuglView* const view) PUGL_DATA_OFFER, 0, GetMessageTime() / 1e3, + 0.0, + 0.0, }; PuglEvent offerEvent; |