diff options
| author | Vaxry <43317083+vaxerski@users.noreply.github.com> | 2025-09-08 11:07:04 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-08 11:07:04 +0200 |
| commit | 02bb350bb3355b5f08e7b0635be10ee47c69346a (patch) | |
| tree | 5dd75680837fd2586980aa069308f5c39d246283 /src/protocols/Screencopy.hpp | |
| parent | bce43f74eb8e4570d0d043f5fc8257eef7a57399 (diff) | |
screencopy: add force 8 bit to fix 10b screensharing (#11623)
ref https://github.com/hyprwm/xdg-desktop-portal-hyprland/issues/270
Diffstat (limited to 'src/protocols/Screencopy.hpp')
| -rw-r--r-- | src/protocols/Screencopy.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/protocols/Screencopy.hpp b/src/protocols/Screencopy.hpp index a44628fd..54b0d28c 100644 --- a/src/protocols/Screencopy.hpp +++ b/src/protocols/Screencopy.hpp @@ -108,6 +108,8 @@ class CScreencopyProtocol : public IWaylandProtocol { bool copyFrameDmabuf(CScreencopyFrame* frame); bool copyFrameShm(CScreencopyFrame* frame, const Time::steady_tp& now); + uint32_t drmFormatForMonitor(PHLMONITOR pMonitor); + friend class CScreencopyFrame; friend class CScreencopyClient; }; |
