screencopy: add force 8 bit to fix 10b screensharing (#11623)
ref https://github.com/hyprwm/xdg-desktop-portal-hyprland/issues/270
This commit is contained in:
parent
bce43f74eb
commit
02bb350bb3
6 changed files with 22 additions and 3 deletions
|
|
@ -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;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue