diff --git a/dgl/src/Window.cpp b/dgl/src/Window.cpp index 5afec28f..4b047058 100644 --- a/dgl/src/Window.cpp +++ b/dgl/src/Window.cpp @@ -504,7 +504,7 @@ std::vector Window::getClipboardDataOfferTypes() { std::vector offerTypes; - if (pData->view != nullptr) + if (pData->view == nullptr) return offerTypes; if (const uint32_t numTypes = puglGetNumClipboardTypes(pData->view)) diff --git a/dgl/src/pugl-upstream b/dgl/src/pugl-upstream index 989f66fe..89ec3dee 160000 --- a/dgl/src/pugl-upstream +++ b/dgl/src/pugl-upstream @@ -1 +1 @@ -Subproject commit 989f66fee6681f21ee333f538572c30d092c0cc7 +Subproject commit 89ec3dee308ea133a58a230ce4bfadc60c6dfa2d