[idd] capture: add forced indirect copy
Some checks failed
build / client (Debug, map[cc:clang cxx:clang++], libdecor) (push) Has been cancelled
build / client (Debug, map[cc:clang cxx:clang++], xdg-shell) (push) Has been cancelled
build / client (Debug, map[cc:gcc cxx:g++], libdecor) (push) Has been cancelled
build / client (Debug, map[cc:gcc cxx:g++], xdg-shell) (push) Has been cancelled
build / client (Release, map[cc:clang cxx:clang++], libdecor) (push) Has been cancelled
build / client (Release, map[cc:clang cxx:clang++], xdg-shell) (push) Has been cancelled
build / client (Release, map[cc:gcc cxx:g++], libdecor) (push) Has been cancelled
build / client (Release, map[cc:gcc cxx:g++], xdg-shell) (push) Has been cancelled
build / module (push) Has been cancelled
build / host-linux (push) Has been cancelled
build / host-windows-cross (push) Has been cancelled
build / host-windows-native (push) Has been cancelled
build / idd (push) Has been cancelled
build / obs (clang) (push) Has been cancelled
build / obs (gcc) (push) Has been cancelled
build / docs (push) Has been cancelled

This commit is contained in:
Geoffrey McRae
2026-08-17 05:12:05 +10:00
parent 96c3056cc9
commit 2005ea5d69
7 changed files with 73 additions and 2 deletions

View File

@@ -65,6 +65,7 @@ class CConfigWindow : public CWindow
std::unique_ptr<CCheckbox> m_prefNoGPU;
std::unique_ptr<CCheckbox> m_prefExclusive;
std::unique_ptr<CCheckbox> m_prefForceFullDirectCopy;
std::unique_ptr<CCheckbox> m_prefForceIndirectCopy;
std::function<void()> m_onDestroy;
std::function<void()> m_onSettingChange;
@@ -77,6 +78,7 @@ class CConfigWindow : public CWindow
std::optional<bool> m_noGPU;
std::optional<bool> m_exclusive;
std::optional<bool> m_forceFullDirectCopy;
std::optional<bool> m_forceIndirectCopy;
void getMinimumSize(LONG &width, LONG &height);
void updateFont();