Browse Source

Fix some X11 handling, fix broken clipboard

Signed-off-by: falkTX <falktx@falktx.com>
pull/443/head
falkTX 2 years ago
parent
commit
78f6f18216
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      dgl/src/Window.cpp
  2. +1
    -1
      dgl/src/pugl-upstream

+ 1
- 1
dgl/src/Window.cpp View File

@@ -504,7 +504,7 @@ std::vector<ClipboardDataOffer> Window::getClipboardDataOfferTypes()
{
std::vector<ClipboardDataOffer> offerTypes;

if (pData->view != nullptr)
if (pData->view == nullptr)
return offerTypes;

if (const uint32_t numTypes = puglGetNumClipboardTypes(pData->view))


+ 1
- 1
dgl/src/pugl-upstream

@@ -1 +1 @@
Subproject commit 989f66fee6681f21ee333f538572c30d092c0cc7
Subproject commit 89ec3dee308ea133a58a230ce4bfadc60c6dfa2d

Loading…
Cancel
Save