From 02bb350bb3355b5f08e7b0635be10ee47c69346a Mon Sep 17 00:00:00 2001 From: Vaxry <43317083+vaxerski@users.noreply.github.com> Date: Mon, 8 Sep 2025 11:07:04 +0200 Subject: screencopy: add force 8 bit to fix 10b screensharing (#11623) ref https://github.com/hyprwm/xdg-desktop-portal-hyprland/issues/270 --- src/protocols/Screencopy.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/protocols/Screencopy.hpp') 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; }; -- cgit v1.2.3